2014年10月22日
摘要: Namespaces are heavily used in C# programming in two ways.First, the .NET Framework uses namespaces to organize its many classes, as follows:System.Co... 阅读全文
posted @ 2014-10-22 20:29 yoghourt 阅读(136) 评论(0) 推荐(0) 编辑
摘要: // -Operators can be roughly classified into three categories:// -Unary — Act on single operands// -Binary — Act on two operands// -Ternary — Act on t... 阅读全文
posted @ 2014-10-22 20:23 yoghourt 阅读(301) 评论(0) 推荐(0) 编辑
摘要: // Literal Values// TYPE(S) CATEGORY SUFFIX EXAMPLE/ALLOWED VALUES// bool boolean none true or false// int, uint, long, ulong integer none 100// uint,... 阅读全文
posted @ 2014-10-22 20:16 yoghourt 阅读(149) 评论(0) 推荐(0) 编辑
摘要: // DATA TYPES//// Built-In Types(Simple)// -Numeric// -Character// -Boolean//// Custom Types(Complex)// -Structures// -Classes// -Interfaces// -Enumer... 阅读全文
posted @ 2014-10-22 20:12 yoghourt 阅读(152) 评论(0) 推荐(0) 编辑
摘要: // C# syntax for declaring variables merely specifi es the type and variable name:// ;////// Simple Types//// Integer Types// TYPE ALIAS FOR ALLOWED... 阅读全文
posted @ 2014-10-22 20:10 yoghourt 阅读(323) 评论(0) 推荐(0) 编辑
  2014年10月21日
摘要: // -1.C# compilers ignore additional spacing in code, whether it// - results from spaces, carriage returns, or tab characters (collectively known as w... 阅读全文
posted @ 2014-10-21 17:29 yoghourt 阅读(131) 评论(0) 推荐(0) 编辑