c#

Unmanaged data

Unmanaged data is data (i.e. memory) that is allocated outside of the control of the CLR. Unmanaged data can be access by both managed and …

Learn more

Unmanaged code

Unmanaged (also called unsafe) code is any code that executes outside of the control of the .NET CLR. Unmanaged code may perform unsafe operations, such as declare and operate on pointers, take the address of a variable, and perform conversions between pointers and integral types. Uses of unmanaged code include calling operating system APIs, interfacing to COM components, …

Learn more

Unmanaged

In .NET, any objects or resources not allocated and controlled by the CLR are considered unmanaged (e.g., Windows handles and calls to the …

Learn more

Unboxing

Unboxing is a conversion of a reference type object (i.e. System.Object) to its value type instance. Unboxing must be explicitly performed in code, usually in the form of a …

Learn more

Type library

Type library is a compiled file (.tlb) containing metadata that describes interfaces and data types. Type libraries can be used to describe vtable interfaces, regular functions, COM components, and DLL modules. Type libraries are compiled from Interface Definition Language (IDL) files using the …

Learn more

Types

Types are a set of data and function members that are combined to form the modular units used to build a .NET applications. Pre-defined types exist within the CLR and user-defined types are created by developers. Types include enumerations, structures, classes, standard modules, interfaces, …

Learn more

Type-safe

Type-safe is code that accesses only the memory locations it is authorized to access, and only in well-defined, allowable ways. Type-safe code cannot perform an operation on an object that is invalid for that object. The C# and VB.NET language compilers always produce type-safe code, which is verified to be type-safe …

Learn more

Try/Catch block

Try/Catch block is an exception handling mechanism in program code. A try block contains a set of program statements that may possibly throw an exception when executed. The associated catch block contains program statements that handle any exception that is thrown in the try block. Multiple catch blocks may be defined to catch specific exceptions (e.g., divide by …

Learn more

Throwing

When an abnormal or unexpected condition occurs in a running application, the CLR generates an exception as an alert that the condition occurred. The exception is said to be thrown. Developers can also programmatically force an exception to be thrown by the use of the …

Learn more

Stylesheets

Stylesheets (also called templates) are data files used to express how the structured content of a document should be presented on a particular physical medium (e.g., printed pages, Web browser, hand-held device, etc.). Details of the presentation include font style, lay out, …

Learn more