The C# tutorials provide an overview of the basics of the language and identify important language features. Each tutorial includes one or more sample programs. The tutorials discuss the sample code plus provide additional background information. They also link to the corresponding sample abstract topics, where you can download and run the sample programs.
Note The C# tutorials do not teach how to create a graphical user interface for your program like a Windows Form or a Web Forms page. To get started in that area, see the Visual C# Walkthroughs.
Tutorial | Description | Level |
Hello World | Shows a Hello World application. | Simple |
Command Line Parameters | Shows simple command-line processing; also shows array indexing. | Simple |
Arrays | Shows how to use arrays. | Simple |
Properties | Shows how properties are declared and used; also demonstrates abstract properties. | Simple |
Libraries | Shows how to use compiler options to create a DLL library from multiple source files; also, how to use them in other programs. | Simple |
Versioning | Shows the use of override and new to support versioning. | Simple |
Collection Classes | Shows how to make collection classes that can be used with foreach. | Intermediate |
Structs | Shows how to use structs in C#. | Intermediate |
Indexers | Shows how to use array notation to access an object. | Intermediate |
Indexed Properties | Shows how to implement a class that uses indexed properties. Indexed properties allow you to use a class that represents an array-like collection of several different kinds of things. | Intermediate |
User-Defined Conversions | Shows how to define conversions to and from user-defined types. | Intermediate |
Operator Overloading | Shows how user-defined classes can overload operators. | Intermediate |
Delegates | Shows how delegates are declared, mapped, and combined. | Intermediate |
Events | Shows how to use events in C#. | Intermediate |
Explicit Interface Implementation | Demonstrates how to explicitly implement interface members. | Intermediate |
Conditional Methods | Demonstrates conditional methods, which provide a powerful mechanism by which calls to methods can be included or omitted depending on whether a symbol is defined. | Intermediate |
XML Documentation | Shows how to document code by using XML. | Intermediate |
Platform Invoke | Shows how to call platform invokes (exported DLL functions) from C#. | Advanced |
COM Interop Part 1 | Shows how to use C# to interoperate with COM objects. Covers a C# client. | Advanced |
COM Interop Part 2 | Shows how to use C# to interoperate with COM objects. Covers a C# server. | Advanced |
Attributes | Shows how to create custom attribute classes, use them in code, and query them through reflection. | Advanced |
Security | Discusses .NET Framework security and shows two ways to modify security permissions in C#: permission classes and permission attributes. | Advanced |
Threading | Demonstrates various thread activities such as creating and executing a thread, synchronizing threads, interacting between threads, using a thread pool, and using a mutex object. | Advanced |
Unsafe Code | Shows how to use pointers. | Advanced |
OLE DB | Shows how to use OLE DB in C# by connecting to a Microsoft Access database. | Advanced |
No comments:
Post a Comment