HomeCSharpPage 45

CSharp

Showing 881 - 900 of 961 results
Below is a sample code snippet demonstrating the usage of the extension methods to get the distinct data from integer...
Within a for loop or a while loop in C# , you can use break or continue keyword . What...
FileHelper is a free .NET library which lets the developers to import or export data from fixed length or delimited...
Sometimes when developing an web application , the developers might want to serialize Enum to its string instead of the...
There are times when you want to combine 2 website Urls together say with the subdomain . For example ,...
If you need to send emails via SMTP programmatically using C# , you can use the the SmtpClient class that...
There are times when you want to identify and detect the availability of a host . .NET provides the developers...
If you need to translate a hostname (for example : Ginktage.com) to its IP Address  , you can use the...
Sometimes you may want to create an temporary file . Instead of manipulating the user’s temporary directory and then manually...
If you need to get the list of all drives installed on your system using C# , you can use...
If you need to reverse the values of an array , you could use the Reverse extension method. How to...
There are times when you might want to split a string to array of strings based on delimiter in C#....
You might encounter an scenario where you have to find out if the integer value that is passed needs to...
The enumeration in C# lets the developers to define a limited set of known values. For example , I can...
Do you want to know if an integer is a power of 2 in C# ? . Below is a...
Do you want to find if the number is odd or even in C# ? , using Bitwise AND operator is...
Sometimes , you might want to specify the maximum number of decimal places that will be displayed to the user...
The .NET Framework provides the format strings like “D” and “X” which can be easily used by the developers to...
If you are looking forward to find the reverse of a number in C# , below is a sample source...
When using finally block in C# , it is guaranteed that it will run after the try catch block is...

Categories

Archives