C# tips and Tricks

Showing 21 - 28 of 28 results
When you are using the string.format , you would have noticed that it might be challenging to have the flower...
You can easily enumerate an enum in C# using the Enum.GetValues static method which returns the array. How to enumerate...
There are times when you are working on a console application in C# and you might want to get the...
Zip method in C# in an interesting extension method that lets the developers to join together two array sequences (IEnumerable)....
You can get the total number of items defined in an enum in C# using the combination of the Enum.GetNames...
There are times when you want to get the attributes of the enum values from your C# code for some...
The SqlConnectionStringBuilder was introduced in .NET 2.0 that is used to build the database connection string specific for the SQL Server. The MSDN defines it as “Provides...
Here’s a small tip on using the string class better in C# to fill a string with specified repeated characters. You can...

Categories

Archives