s there an official C# guideline for the order of items in terms of class structure? Does it go: Public Fields Private Fields Properties Constructors Methods ? I'm curious if there is a hard and fast...

s there an official C# guideline for the order of items in terms of class structure?

Does it go:



  • Public Fields

  • Private Fields

  • Properties

  • Constructors

  • Methods
    ?


I'm curious if there is a hard and fast rule about the order of items? I'm kind of all over the place. I want to stick with a particular standard so I can do it everywhere.


The real problem is my more complex properties end up looking a lot like methods and they feel out of place at the top before the constructor.


Any tips/suggestions?

Mar 05, 2020
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here