What is the point declaring variables at the end of class?
        Posted  
        
            by serhio
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by serhio
        
        
        
        Published on 2010-05-14T12:01:18Z
        Indexed on 
            2010/05/14
            12:14 UTC
        
        
        Read the original article
        Hit count: 191
        
class-design
I saw multiple examples in MSDN that uses to declare the internal fields at the end of the class. What is the point?
I find this a little embarrassing, because each time Visual Studio adds a method it adds it to the end of the class, so there is need every time to move it...
class A
{
  public A(){}
  // Methods, Properties, etc ...
  private string name;
}
class A
{
  private string name;
  public A(){}  
  // Methods, Properties, etc ...
}
© Stack Overflow or respective owner