title: How to make C# class declaration text in Visual Studio workspace
body: <p>I use Visual Studio 2010.</p>
  
  <p>I want to make C# class summary text that includes only declarations without definitions.
  When I use C++, I write class declaration in header file and write its definition in cpp file,
  so I could get class summary text by copying header text. It's short and simple.</p>
  
  <p>But in C#, declarations and definitions are in same place, so I can't copy that includes declarations only.</p>
  
  <p>Is there a good way to solve it?
  The way I hope is not by programming but by manual operation in workspace.</p>
  
  <p>Example:</p>
  
  <pre><code>// Class definition
  public class MyInfo
  {
      public static char c = 'A';
      private int i = 0;
  
      public bool foo()
      {
          return i &gt; 0;
      }
  
      public int bar(string a, int b)
      {
          return a.Length - b;
      }
  }
  
  // I want class summary text as below
  public class MyInfo
  {
      public static char c = 'A';
      private int i = 0;
      public bool foo();
      public int bar(string a, int b);
  }
  </code></pre>
  
  <p>I think that class summary text is very useful to describe class in any place. For example, I can describe class by copying its text in mail body or web site content.</p>