![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
wen_liang_
这个作者很懒,什么都没留下…
展开
-
C#入门基础(二)
一、字符串常用函数 static void Main(string[] args) { string name="liLIfjeJIFJeif"; //变大写 Console.WriteLine(name.ToUpper()); //变小写 Console.WriteLine(name.ToLower()); string n原创 2021-07-08 09:19:29 · 81 阅读 · 0 评论 -
C#入门基础(一)
一.基本知识补充float 类型后面加fdouble 类型后面不用bool 只有true和false两种类型10/3 取整为3占位符Console.WriteLine("我的姓名是{0},我的性别是{1},我今年{2}岁了",name,gender,age);输入String name;name=Console.ReadLine();Console.WriteLine("你输入的是"+name);转义符:\n表示换行 \" 输出双引号 \t tab空格...原创 2021-07-05 19:37:21 · 518 阅读 · 0 评论