Created
August 23, 2015 12:22
-
-
Save angelovstanton/0b8a04f18deaefbf64e2 to your computer and use it in GitHub Desktop.
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
public static class DebuggerBrowsableTest | |
{ | |
private static string squirrelFirstNameName; | |
private static string squirrelLastNameName; | |
// The following DebuggerBrowsableAttribute prevents the property following it | |
// from appearing in the debug window for the class. | |
[DebuggerBrowsable(DebuggerBrowsableState.Never)] | |
public static string SquirrelFirstNameName | |
{ | |
get | |
{ | |
return squirrelFirstNameName; | |
} | |
set | |
{ | |
squirrelFirstNameName = value; | |
} | |
} | |
[DebuggerBrowsable(DebuggerBrowsableState.Collapsed)] | |
public static string SquirrelLastNameName | |
{ | |
get | |
{ | |
return squirrelLastNameName; | |
} | |
set | |
{ | |
squirrelLastNameName = value; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment