Tuesday, December 21, 2010

Find Age

To Find the age of a person there is another class avaliable in VS
C#

TimeSpan
Datetime myBirthday=DateTime.Parse("7/7/1982");
TimeSpan objTimeSpan=DateTime.Now.Subtract(myBirthDay);

Tuesday, December 14, 2010

How to find if the assembly is strongly named

Three ways to tell if a .NET Assembly is Strongly Named (or has Strong Name)

Approach #1: Testing for Strong Name on Command Line or in a Script
Approach #2: Viewing Strong Name Details with IL DASM
Approach #3: Viewing Strong Name Details with Reflector

for details refer
http://blog.codingoutloud.com/2010/03/13/three-ways-to-tell-whether-an-assembly-dl-is-strong-named/