This is a question that hanuts me since I installed Resharper recently. Resharper keeps suggesting that the method can be static. I can see that it can be static. The method does not depend on any properties or methods of the class. But does that mean it should change to static?
I wasn’t sure, so I [...]
Posts Tagged ‘c# programming’
When to use static methods?
Posted in Programming, tagged c# programming on November 11, 2008 | Leave a Comment »
Create a random strong password
Posted in Uncategorized, tagged c# programming on October 23, 2008 | Leave a Comment »
This is to create a random strong password. I don’t want to make it too strong, for example password with special character. 1 number and 1 upper case will be sufficient.
There are a few good articles. I get the idea from these posts.
How To: Generate a Random Password (C#/VB.NET)
4 Guys from Rolla, Generating Random Password
4 [...]