[摘要]学习目的:掌握C#的基本知识一、定义变量:string strExample; 字符串("aaa")char chrExample; 字符('a')bool bl...
学习目的:掌握C#的基本知识
一、定义变量:
string strExample; 字符串("aaa")
char chrExample; 字符('a')
bool blnExample; Bool型(true/false)
DataTime datExample; 日期型("09/19/2002")
int intExample; 整数(32位有符号整数)
double dblExample; 浮点数(64位双精度浮点数)
二、各种运算:
= 赋值运算
+ 加法运算
- 减法运算
* 乘法运算
/ 除法运算
% 取模运算
&& 逻辑And
关键词:10天学会ASP.net之第二天