How to add custom sorting for a class with IComparable interface
Sometimes it necessary to sort your collection before showing it on UI. You can add custom sorting to your class just by inh…
Sometimes it necessary to sort your collection before showing it on UI. You can add custom sorting to your class just by inh…
In this article, I will show you how to calculate the hash of a given file in C#. Before that let’s understand what is h…
This is a very simple code showing how to convert byte array to string in c# Make sure that you have imported the name…
This is very simple code showing how to convert string to byte array in c# # How to convert byte array to string in c# …
Sometimes it is necessary to embed an executable or exe (or any other file) into your application and later recreate it …
In this post, I am going to show you how to encrypt and decrypt data in ASP.NET using a symmetric algorithm. Before we di…
In this post, I will show you how to compress HTTP response in asp.net for improving performance. Before going into details…
Web application security is very crucial because attacks against web apps are the top cause of data breaches. Business /…