![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#高级编程
文章平均质量分 80
zhujianyun
这个作者很懒,什么都没留下…
展开
-
C# 类型体系
C# 2005 类型体系包含下列几种类别: · 值类型 · 引用类型 · 指针类型 值类型的变量存储数据,而引用类型的变量存储对实际数据的引用。引用类型也称为对象。指针类型仅可用于 unsafe 模式。通过装箱和取消装箱,可以将值类型转换为引用类型,然后再转换回值类型。除了装箱值类型外,无法将引用类型转换为值类型。本节还介绍原创 2006-06-25 22:10:00 · 772 阅读 · 0 评论 -
Using Arithmetic Operators
Using Arithmetic OperatorsC# 2005 supports the regular arithmetic operations you learned in your childhood: the plus sign (+) for addition, the minus sign (–) for subtraction, the asterisk (*) f原创 2006-07-02 16:09:00 · 731 阅读 · 0 评论 -
Working with Primitive Data Types
Working with Primitive Data TypesC# 2005 has a number of built-in types called primitive data types. The following table lists the most commonly used primitive data types in C# 2005, and the ran转载 2006-07-02 16:07:00 · 1205 阅读 · 0 评论 -
Identifying Keywords
Identifying KeywordsThe C# 2005 language reserves 77 identifiers for its own use, and you should not reuse these identifiers for your own purposes. These identifiers are called keywords, and eac转载 2006-07-02 16:02:00 · 677 阅读 · 0 评论 -
Using Identifiers
Using IdentifiersIdentifiers are the names you use to identify the elements in your programs. In C# 2005, you must adhere to the following syntax rules when choosing identifiers: You ca转载 2006-07-02 16:00:00 · 642 阅读 · 0 评论 -
Understanding Statements
Understanding StatementsA statement is a command that performs an action. Statements are found inside methods. Youll learn more about methods in Chapter 3, “Writing Methods and Applying Scope,”转载 2006-07-02 15:59:00 · 656 阅读 · 0 评论 -
Chapter 2
Chapter 2Working with Variables, Operators, and ExpressionsAfter completing this chapter, you will be able to: Understand statements, identifiers, and keywords.转载 2006-07-02 15:58:00 · 673 阅读 · 0 评论 -
Chapter 1 Quick Reference
Chapter 1 Quick Reference To Do this Key combination原创 2006-07-02 15:57:00 · 594 阅读 · 0 评论 -
Creating a Windows Forms Application
Creating a Windows Forms ApplicationSo far you have used Visual Studio 2005 to create and run a basic Console application. The Visual Studio 2005 programming environment also contains everything转载 2006-07-02 15:40:00 · 968 阅读 · 0 评论 -
Using Namespaces
Using NamespacesThe example you have seen so far is a very small program. However, small programs can soon grow into bigger programs. As a program grows, it creates two problems. First, more cod转载 2006-07-02 15:39:00 · 591 阅读 · 0 评论 -
Writing Your First Program
Writing Your First ProgramThe Program.cs file defines a class called Program that contains a method called Main. All methods must be defined inside a class. The Main method is special—it designa转载 2006-07-02 15:38:00 · 655 阅读 · 0 评论 -
Beginning Programming with the Visual Studio 2005 Environment
Beginning Programming with the Visual Studio 2005 EnvironmentVisual Studio 2005 is a tool-rich programming environment containing all the functionality youll need to create large or small C# 20转载 2006-07-02 15:37:00 · 1764 阅读 · 0 评论 -
Part I
Part IIntroducing Microsoft Visual C# 2005 2005 and Microsoft Visual Studio 2005Chapter 1Welcome to C# 2005 2005After completing this chapter, you will be able to: Use转载 2006-07-02 15:35:00 · 555 阅读 · 0 评论 -
vC#2005 step by step
Finding Your Best Starting Point in This BookThis book is designed to help you build skills in a number of essential areas. You can use this book if you are new to programming or if you are swit转载 2006-07-02 15:32:00 · 465 阅读 · 0 评论 -
vC#2005 step by step
Finding Your Best Starting Point in This BookThis book is designed to help you build skills in a number of essential areas. You can use this book if you are new to programming or if you are swit转载 2006-07-02 15:32:00 · 478 阅读 · 0 评论 -
visual C#2005 step by step(english language)
IntroductionMicrosoft Visual C# 2005 is a powerful but simple language aimed primarily at developers creating applications by using the Microsoft .NET Framework. It inherits many of the best fe转载 2006-07-02 15:29:00 · 761 阅读 · 0 评论 -
C#各个要点慨述
概述· Main 方法是程序的入口点,程序控制在该方法中开始和结束。· 该方法在类或结构的内部声明。它必须为静态方法,而不应为公共方法。(在上面的示例中,它接受默认访问级别 private。· 它可以具有 void 或 int 返回类型。· 声明 Main 方法时既可以使用参数,也可以不使用参数。· 参数可以作为从零开始索引的命令行参数来读取。原创 2006-06-25 22:23:00 · 738 阅读 · 0 评论 -
Incrementing and Decrementing Variables
Incrementing and Decrementing VariablesIf you wanted to add 1 to a variable, you could use the + operator:count = count + 1;However, it is unlikely that an experienced programmer would w转载 2006-07-02 16:10:00 · 683 阅读 · 0 评论