15 lines
296 B
Text
15 lines
296 B
Text
using System.Console;
|
|
using System.Globalization;
|
|
|
|
module StringCase
|
|
{
|
|
Main() : void
|
|
{
|
|
def alpha = "alphaBETA";
|
|
WriteLine(alpha.ToUpper());
|
|
WriteLine(alpha.ToLower());
|
|
|
|
WriteLine(CultureInfo.CurrentCulture.TextInfo.ToTitleCase("exAmpLe sTrinG"));
|
|
|
|
}
|
|
}
|