What is the CTS?
CTS = Common Type System. This is the range of types that the .NET runtime understands, and therefore that .NET applications can use. However note that not all .NET... Read more »
CTS = Common Type System. This is the range of types that the .NET runtime understands, and therefore that .NET applications can use. However note that not all .NET... Read more »
By searching directory paths. There are several factors which can affect the path (such as the AppDomain host, and application configuration files), but for private... Read more »
Each assembly has a version number called the compatibility version. Also each reference to an assembly (from another assembly) includes both the name and version... Read more »
Garbage collection is a heap-management strategy where a run-time component takes responsibility for managing the lifetime of the memory used by objects. This concept... Read more »
A little. For example the System.GC class exposes a Collect method, which forces the garbage collector to collect all unreferenced objects immediately. Also there... Read more »
Lots of interesting statistics are exported from the .NET runtime via the ‘.NET CLR xxx’ performance counters. Use Performance Monitor to view them. Read more »
The lapsed listener problem is one of the primary causes of leaks in .NET applications. It occurs when a subscriber (or ‘listener’) signs up for a publisher’s... Read more »
CAS is the part of the .NET security model that determines whether or not code is allowed to run, and what resources it can use when it is running. For example,... Read more »
The CAS security policy revolves around two key concepts - code groups and permissions. Each .NET assembly is a member of a particular code group, and each code... Read more »
There are several options. First, you can use your own communication mechanism to tell the ThreadStart method to finish. Alternatively the Thread class has in-built... Read more »
There is no way to query the thread pool for this information. You must put code into the WaitCallback method to signal that it has completed. Events are useful... Read more »
Yes, in the System.Diagnostics namespace. There are two main classes that deal with tracing - Debug and Trace. They both work in a similar way - the difference is... Read more »
.NET remoting involves sending messages along channels. Two of the standard channels are HTTP and TCP. TCP is intended for LANs only - HTTP can be used for LANs... Read more »
An event is just a wrapper for a multicast delegate. Adding a public event to a class is almost the same as adding a public multicast delegate field. In both cases,... Read more »
Each instance of a reference type has two fields maintained by the runtime - a method table pointer and a sync block. These are 4 bytes each on a 32-bit system,... Read more »
64-bit (x64) versions of Windows support both 32-bit and 64-bit processes, and corresponding 32-bit and 64-bit versions of .NET 2.0. (.NET 1.1 is 32-bit only). .NET... Read more »
CTS = Common Type System. This is the full range of types that the .NET runtime understands. Not all .NET languages support all the types in the CTS. CLS = Common... Read more »
Location and visibility: A private assembly is normally used by a single application, and is stored in the application’s directory, or a sub-directory beneath.... Read more »
Yes. The garbage collector offers no guarantees about the time when an object will be destroyed and its memory reclaimed. Read more »
Yes. The garbage collector offers no guarantees about the time when an object will be destroyed and its memory reclaimed. Read more »