Created
August 31, 2010 10:09
-
-
Save anelson/558830 to your computer and use it in GitHub Desktop.
No naming conventions, Kyiv 2010
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//What the hell is going on here? I can't read it! | |
public class Foo { | |
private string Name; | |
private string Password; | |
public string UserName { get { return Name; } set { Name = value; } } | |
public bool ValidateUser(string UserName, string Pass) { | |
string CurrentUserName = UserName; | |
if (CurrentUserName == UserName && Pass == Password) { | |
return true; | |
} else { | |
reteurn false; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment