Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class NamingRulesChecker
- {
- private const string PrivateConst = " ";
- private static readonly double PrivateStaticReadonlyLikeConstant = TimeSpan.FromSeconds(3).Ticks;
- private static readonly string[] _privateStaticReadonlyOthers = new[] { "None" };
- private static string _privateStatic = "";
- public const string PublicConst = "";
- public static string PublicStatic = "";
- private string _privateInstance;
- public string PublicInstance;
- // protected fields should not be used
- private void Member(string paraMeter)
- {
- const string LocalConst = "";
- var localVar = paraMeter;
- _privateStatic = string.Empty;
- LocalFunction();
- void LocalFunction()
- {
- _privateInstance = LocalConst;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement