C# Class Level Variable Naming Convention

Thread is closed for posting
2 posts, 0 answers
  1. Joel Palmer
    Joel Palmer avatar
    175 posts
    Member since:
    May 2009

    Posted 12 Sep 2012 Link to this post

    Our standard for private class level variables in C# is to start them with an underscore:


    How do I configure JC to consider this valid?
  2. Zdravko
    Zdravko avatar
    657 posts

    Posted 17 Sep 2012 Link to this post

    Hi Joel,

     Thanks for contacting us.
    You can add additional rule or change the current one in order to set it as a valid one.
    You will find these settings at JustCode menu -> Options -> Code Style -> desired language (e.g. C#) -> Naming Conventions and there add or change the rule. In your case it should be Private fields.

    Please, do not hesitate to contact us if you have any further questions or need of assistance.

    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Back to Top