In a multi-threaded application, synchronization is key to protect data integrity. There are numerous ways to accomplish data synchronization in .NET and C#, such as the commonly used
System.Threading.Monitor .NET Framework class and corresponding C#
lock statement. But, when it comes to super-fast synchronization, nothing beats the . . .
One Relay Does It All
Extension methods have been part of the C# programming language since .NET 3.5 / Visual Studio 2008. An extension method is really nothing more than just a static method of a static class that can be called in a special way. In addition to being able to call an extension method directly by specifying the class and method name, an . . .
The C# language has several different uses for question marks. To programmers unfamiliar with these uses, it can be a bit confusing. However, once you know and understand them, they become second nature just like
|a ||Conditional Operator||2003||1.2||*|
|a ||Null-Coalescing Operator||2005||. . .|
Several Different Ways to Deal with It
Every once in awhile, the need seems to arise to create a method that takes a large number of boolean arguments. The method prototype would like something like the one shown below.
void MyMethod( bool a, bool b, bool c, bool d );
From a usage viewpoint, it's generally a bad idea to put too many parameters of the same type in a row within . . .
Quick References to Get You Up and Running
I have only written a few posts using Silvrback, but so far the experience has gone well. Below is a quick list of things to keep in mind if you have decided to give Silvrback a whirl.
At some point during the registration process, you will be asked to choose a username. Your username will be publicly visible as the subdomain that . . .
I found this on my Google Drive. It's a document that I had started years ago but never did anything with. Since it was pretty much done (just had to do a bit of Silvrback markdown), I decided to post it here . Who knows...it might help somebody to remember how to count in Roman numerals!
Roman numeral can seem confusing . . .