|
|
Browse by Tags
All Tags » C# » programming » C++ » .NET
-
When you are handed a string, integer, or any value type, can you know what it really represents? Can you define the range of appropriate behaviors for that data? Can you tell if it's formatted correctly? The problem is, in all of these cases, you can't. You can't be sure of it's meaning, it's format or even how to ...
-
After my last post, A Safe and Asynchronous One to Many Stream Copy Through IL and Inheritance”, I ordered a few books and spent some time playing with generating IL. Along the way I’ve developed a library which allows you to make a franken-clone of any object. You pass the method an object to clone along with a hash table of values to change, ...
-
There are a great number of different ways to count the number of processors available to the .NET developer. In this post I will go over some of the more common methods and their pros and cons.
The Envirionment.ProcessorCount Way
Code:
Environment.ProcessorCount;
Supported Platforms:
Windows 98 Or Greater, .NET 2.0 or ...
|
|
|