Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace charsToString
- {
- class Program
- {
- static void Main()
- {
- var one = (Console.ReadLine());
- string upper = "upper-case";
- string lower = "lower-case";
- if (one == one.ToUpper())
- {
- Console.WriteLine($"{upper}");
- }
- else if (one == one.ToLower())
- {
- Console.WriteLine($"{lower}");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement