by Paulo Morgado via Paulo Morgado : C# on 5/13/2007 10:30:25 PM
I like to always qualify all instance fields with the this keyword.
this.someInstanceField;
this.GetType();
I would like to do the same for static fields, but there's no keyword for that.
I've been thinking about this for a while and I think I found a solution: the static keyword.
typeof(); // no need for the static keyword
static.someStaticField;
Original Post: How about a keyword for qualifying static members?
The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.