Initial commit
This commit is contained in:
15
10.3-UpperLowerCase/UpperLowerCase.cs
Normal file
15
10.3-UpperLowerCase/UpperLowerCase.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
class UpperLowerCase {
|
||||
public static void Main() {
|
||||
string s1 = " ThIS iS jUSt a NORmal pieCe Of TexT. ";
|
||||
|
||||
Console.WriteLine(s1);
|
||||
Console.WriteLine(s1.ToUpper());
|
||||
Console.WriteLine(s1.ToLower());
|
||||
|
||||
Console.WriteLine(s1.TrimEnd());
|
||||
Console.WriteLine(s1.TrimStart());
|
||||
Console.WriteLine(s1.Trim());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user