title: Is it possible to create a "private" or "public" block in C# like in C++?
body: <p>In C++ it's possible to create a "block" of members by privacy:</p>
  
  <pre><code>private :
      int var1;
      char var2;
      ...
  
  public :
      int var3;
      char var4;
      ...
  </code></pre>
  
  <p>I have tried to find examples of the same in C#, but couldn't find one. I tried to write such a block in Visual Studio, but I got an error.</p>
  
  <p>Is there a similar syntax that is valid in C#?</p>