title: Dictionaries and Functions
body: <p>I have recently begun working with C# and there is something I used to do easily in Python that I would like to achieve in C#.</p>
  
  <p>For example, I have a function like:</p>
  
  <pre><code>def my_func():
   return "Do some awesome stuff"
  </code></pre>
  
  <p>And a dictionary like:</p>
  
  <pre><code>my_dic = {"do": my_func}
  </code></pre>
  
  <p>I have made a script in which when the user would input "do", the program would call <code>my_func</code> according to the dictionary.</p>
  
  <p>I'd like to know how I can assign functions to strings in a C# dictionary.</p>