C#:Composing Functions Tutorial

From Progzoo
Jump to: navigation, search

You may want to review some examples before you start: [../ht30Fun/ String functions]

Region starts with first letter of name

Show the name and the region where the first letter of the name is also the first letter of the region.

Use 20 characters for the name and 30 for the region.

[Font] [Default] [Show] [Resize] [History] [Profile]

Region is the same length as the name.

Show the name and the region where the length of the name equals the length of the region.

Use 20 characters for the name and 30 for the region.

[Font] [Default] [Show] [Resize] [History] [Profile]

Region ends with the last letter of the name.

Show the name and the region where the last letter of the name equals the last letter of the region.

Use 20 characters for the name and 30 for the region.

[Font] [Default] [Show] [Resize] [History] [Profile]

First and last letter are the same.

Show the name where the country name starts and ends with the same letter irrespective of case.

[Font] [Default] [Show] [Resize] [History] [Profile]