title: C# method prototype like in C++
body: <p>Can I somehow make a prototype of method and declare its body in C# like I do in C++?</p>
  
  <p>For example in C++:</p>
  
  <pre><code>void foo();
  
  int main()
  {
      foo();
      return 0;
  }
  
  void foo(){
      cout &lt;&lt; "im foo";
  }
  </code></pre>
  
  <p>How can I achieve it in C#?</p>