![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#语法
文章平均质量分 84
学习C#笔记
sunshinecxm_BJTU
这个作者很懒,什么都没留下…
展开
-
C# 学习笔记(二) C# 运算符
7. C# 运算符运算符是一种告诉编译器执行特定的数学或逻辑操作的符号。C# 有丰富的内置运算符,分类如下:算术运算符;关系运算符;逻辑运算符;位运算符;赋值运算符;其他运算符;算术运算符using System;namespace OperatorsAppl{ class Program { static void Main(string[] args) { int a = 21; int b转载 2021-04-25 10:35:37 · 226 阅读 · 0 评论 -
C# 学习笔记(一)程序结构;基本语法;数据类型
C# 程序结构一个 C# 程序主要包括以下部分:命名空间声明(Namespace declaration)一个 classClass 方法Class 属性一个 Main 方法语句(Statements)& 表达式(Expressions)注释让我们看一个可以打印出 “Hello World” 的简单的代码:实例using System;namespace HelloWorldApplication{ class HelloWorld { stat转载 2021-04-25 10:25:41 · 251 阅读 · 0 评论