This documentation is archived and is not being maintained.

Programming Concepts

This section explains programming concepts that can be used in both Visual Basic and C#.



New Walkthroughs (C# and Visual Basic)

Provides links to walkthroughs for new features that are included in Visual Basic and C#.

Application Domains (C# and Visual Basic)

Explains how to provide a flexible and secure method of separating applications from each other and each other's data by using application domains.

Assemblies and the Global Assembly Cache (C# and Visual Basic)

Describes how to create and use assemblies.

Attributes (C# and Visual Basic)

Discusses how to provide additional information about programming elements such as types, fields, methods, and properties by using attributes.

Covariance and Contravariance (C# and Visual Basic)

Shows how to enable implicit conversion of generic type parameters in interfaces and delegates.

Expression Trees (C# and Visual Basic)

Explains how you can use expression trees to enable dynamic modification of executable code.

LINQ (Language-Integrated Query)

Discusses the powerful query capabilities in the language syntax of C# and Visual Basic, and the common model for querying relational databases, XML documents, datasets, and in-memory collections.

Object-Oriented Programming (C# and Visual Basic)

Describes common object-oriented concepts, including encapsulation, inheritance, and polymorphism.

Performance (C# and Visual Basic)

Discusses several basic rules that may help you increase performance of your application.

Reflection (C# and Visual Basic)

Explains how to use reflection to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object and invoke its methods or access its fields and properties.

Serialization (C# and Visual Basic)

Describes key concepts in binary, XML, and SOAP serialization.

Threading (C# and Visual Basic)

Provides an overview of the .NET threading model and shows how to write code that performs multiple tasks at the same time to improve the performance and responsiveness of your applications.