|
Het Broodje van Blog:
In this C# tutorial, you'll learn the basics of defining classes in C#, including instance members, access modifiers, constructors, and initialization lists, and then learn how to define static members and the difference between constant and read-only fields. After that, this tutorial teaches you about destructors and deterministic finalization. Finally, the tutorial provides a quick discussion of inheritance and C# classes. C# Methods This C# tutorial shows you how to use the ref and out method parameter keywords and how they enable you to define a method such that it can return more than a single value to the caller. You'll learn how to define overloaded methods so that multiple methods with the same name can function differently depending on the types and/or number of arguments passed to them. Then you'll learn how to handle situations in which you don't know the exact number of arguments a method will have until run time. Finally, discussion of virtual methods and how to define static methods. C# Properties, Arrays, and Indexers In this C# tutorial, you'll learn about properties, arrays, and indexers because these language features share a common bond. They enable you, the C# class developer, to extend the basic class/field/method structure of a class to expose a more intuitive and natural interface to your class's members. C# Attributes C# attributes provide you a generic means of associating information (as annotations) with your defined C# types. You can use attributes to define design-time information (such as documentation information), run-time information (such as the name of a database column for a field), or even run-time behavioral characteristics (such as whether a given member is "transactionable"?that is, capable of participating in a transaction). C# Interfaces C# Interfaces allow you to define behavioral characteristics, or abilities, and apply those behaviors to classes irrespective of the class hierarchy. C# Expressions and Operators This C# tutorial shows you how to express assignments and comparisons through the use of operators. You'll learn what operators are and how operator precedence is determined in C#, along with specific categories of expressions for doing such things as performing math, assigning values, and making comparisons between operands. C# Program Flow Control The statements that enable you to control program flow in a C# application fall into three main categories: selection statements, iteration statements, and jump statements. In this C# tutorial, you'll learn how to use each of these statement types to control structure flow. C# Error Handling with Exceptions This C# tutorial teaches you the general mechanics and basic syntax of exception handling, how exception handling compares with the more prevalent methods of error handling. You will also learn about .NET exception-handling issues, such as using the Exception class and deriving your own exception classes and issue of properly designing your system to use exception handling. C# Operator Overloading and User-Defined Conversions This C# tutorial teaches you how to use two closely related features of C# that give you the capability to create structure and class interfaces that are easier and more intuitive to use: operator overloading and user-defined conversions. C# Delegates and Event Handlers In this C# tutorial, learn how to code using delegates, how they compare to interfaces, the syntax used to define them, and the different problems that they were designed to address. You'll also see several examples of using delegates with both callback methods and asynchronous event handling. C# Multithreaded Programming This C# tutorial teaches you the basics, along with more advanced issues regarding the aborting, scheduling, and lifetime management of threads and also discuss thread synchronization with the System.Monitor and System.Mutex classes and the C# lock statement. Querying Metadata with Reflection This tutorial explains the reflection API and how you can use it to iterate through an assembly's modules and types and to retrieve the different design-time characteristics of a type. You'll also learn about several advanced usages of reflection, such as dynamically invoking methods and use type information (through late binding) and even creating and executing MSIL code at run time. Interoperating with Unmanaged Code Unmanaged code refers to code that is not managed, or controlled, by the .NET runtime. This tutorial cover the three main examples of unmanaged code in .NET: Platform Invocation Services, Unsafe code , COM interoperability. Working with Assemblies This tutorial describes the major advantages of using assemblies, including the packaging and versioning of your .NET components. Popularity: 23% [?] Related Posts:No Comments »No comments yet. RSS feed for comments on this post. Leave a commentYou must be logged in to post a comment. Powered by WordPress |






















