Quantcast
Channel: Jinal Desai .NET » Tips
Browsing latest articles
Browse All 4 View Live

Loop Through Enum in C#

While programming in C# we frequently requires to loop through the enums to fetch all the elements reside in enum, either Names or Constant Values. So, I think it is very useful if the code is readily...

View Article



Week Number From Date

Sometimes while working with calculations based on week number of the year, we required to get week number from the current date or specific date. It is great help if the code is available on the net...

View Article

Simple Encription in C#

Following is simple encryption algorithm we can use in c#. It is simple and basic algorithm. Here we are using SHA1 algorithm for encryption. It can be MD5. The code is self explanatory. It is very...

View Article

Simple Decryption in C#

As my previous tips in C# this is simple decryption algorithm. Here we are using SHA1 algorithm for decryption. It can be MD5. The code is self explanatory. It is very simple decryption method. However...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images