Archived
1
0
This repository has been archived on 2026-03-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
SomeLab/ConsoleApp1/HelloWorld.cs
2025-10-24 17:19:46 +08:00

23 lines
544 B
C#

using System;
namespace ConsoleApp1
{
class HelloWorld
{
static void Main()
{
char ch=Console.ReadKey();
if (Char.ToUpper(ch)<= 'A' && Char.ToUpper(ch)<='Z')
{
if (ch >= 'A' && ch <= 'Z')
{
Console.WriteLine("{0}是大写字母", ch);
}
else
{
Console.WriteLine("{0}是小写字母", ch);
}
}
else if ()
}
}
}