C#系列教程——if-else例子2
来源:互联网 发布:我国网络社会治理方针 编辑:程序博客网 时间:2024/06/05 09:45
代码如下:
using System;public class Test2{ static void Main() { Console.Write("请输入数据: "); char c = (char)Console.Read(); if (Char.IsUpper(c)) { Console.WriteLine("字符是大写字符."); } else if (Char.IsLower(c)) { Console.WriteLine("字符是小写字符."); } else if (Char.IsDigit(c)) { Console.WriteLine("输入是是数字."); } }}
- C#系列教程——if-else例子2
- C#系列教程——if-else定义及使用
- CoffeeScript系列教程(六)—IF, ELSE, UNLESS 和条件赋值
- C#系列教程——switch例子2
- C# if.....else......
- C#学习If-else
- Javascript—if...else语句
- 【C#基础知识点】——结构(if else-if、switch-case)
- C# 选择结构 if、if..else、if..elseif...else、switch
- 2-2-2 判断语句-if-else新例子?
- Tip案例——else...if....
- 黑马程序员—if-else与异常
- oracle if else elsif 使用例子
- 一个优化if-else的例子
- Linux Shell系列教程之(九)Shell判断 if else 用法
- if, else if, else
- if else if else
- if (){}else if(){} else{}
- python中List的sort方法(或者sorted内建函数)的用法
- C#系列教程——装箱转换
- C#系列教程——if-else定义及使用
- (二)Ensemble入门教程之CacheObject语言简单说明
- C#小结
- C#系列教程——if-else例子2
- C#系列教程——lock语句定义及使用
- Linux安装MySQL的两种方法
- C#系列教程——switch定义及使用
- 判断一个字符串是否为回文
- C#系列教程——switch例子2
- C#系列教程——迭代语句do定义及使用
- 向量
- C迷宫源代码