Skip to content

Instantly share code, notes, and snippets.

@anelson
Created August 31, 2010 10:09
Show Gist options
  • Save anelson/558830 to your computer and use it in GitHub Desktop.
Save anelson/558830 to your computer and use it in GitHub Desktop.
No naming conventions, Kyiv 2010
//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