Home2019January

January 2019

Showing 1 - 17 of 17 results
Do you want to get assembly version or assembly file version in your C# code?. This blog post exactly explains...
Here’s a quick one. Its rather a simple tip demonstrating how to repeat a character X times in C#. How...
There are occassions where you might have to convert or encode a string to base64 and vice versa in C#....
If you are using Dictionary and wondering how to sort it based on the value , you can pretty much...
In this C# tips and tricks blog post , we look at how to use String.Format function to display the...
In one of my previous blog posts , we looked at converting c# object to Json string using the Newtonsoft.Json...
You can easily convert the C# object to JSON string by using the Newtonsoft.Json NuGet package which is one of...
Assume that you have a List of string and you wish you to get the items of the list into...
If you are using Reflection and you wish you get property value using Reflection (string in this example) using C#,...
There are times when the developers would encounter scenarios where they need to generate a random alphanumeric string to be...
If wanna send email through gmail as the SMTP provider from your .NET application , here’s a sample code snippet...
C# multiline string literal (@) is one of the feature which allows the c# developers to use @ symbol in...
Although not a good practise , cometime you might want to hide a specific warning of your C# code. For...
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)....

Categories

Archives