Setting a default value for auto implemented properties
normally you can set a default value for your properties by giving the private property a value. but the auto implemented properties which were introduced with C# 3.0 the syntax…
All the Code Snippets and Samples you need
normally you can set a default value for your properties by giving the private property a value. but the auto implemented properties which were introduced with C# 3.0 the syntax…
To use multiple order by statements in your LINQ query you can use the OrderBy Method combined with multiple ThenBy Method’s. Example so let’s create a sample class and fill…
If you need to force a .NET Application to run with Administrative Privileges, you simply need to modify the Application Manifest File of your Project. If you need Help Adding…
This code snippet can help you to calculate a Person’s age using C# and VB.NET. C# Snippet #region using System; #endregion namespace de.Fesslersoft.CalculateAge { internal class Program { public static…