Showing 21 - 28 of 28 results
You can get the total number of items defined in an enum in C# using the combination of the Enum.GetNames...
Although not a good practise , cometime you might want to hide a specific warning of your C# code. For...
Hereโ€™s a quick one. Its rather a simple tip demonstrating how to repeat a character X times in C#. How...
There may be a requirement of getting the user's IP address using ASP.NET and C# or VB .NET when a...
This blog post will explain how you can use the TrimStart function in C# to remove leading zeros from a...
Hereโ€™s the list of some of the possible ways of array initializations in C# C# Tips and Tricks #21 โ€“...
You can easily enumerate an enum in C# using the Enum.GetValues static method which returns the array. How to enumerate...
When you are using the string.format , you would have noticed that it might be challenging to have the flower...