Example of csharp utility function to remove white spaces from HTML string. This is done with help of Regex class of dotnet framework.
Csharp utility function example to retrieve users email from asp.net membership.
C# example to hash password or any other string. This function return hashed data in Base64 form.
C# utility function to find sub domain name from URL.
C# Example for Serialize object to JSON string and Deserialize JSON sting to object in asp.net.
C# generic utility function example to parse enum string field safely.
C# example to check that asp.net is running on linux or not using Environment.OSVersion.Platform.
Utility function example for detecting mobile device request using C# and asp.net.
Java example to compare two files byte by byte. We can also do this by calculating MD5 check sum.
Java example to compare contents of two text file line by line using apache commons io library FileUtils class.