title: C# Regex Extract Method and Parameter Names
body: <p>I need help with regex, where I pass this kind of string:</p>
  
  <pre><code>"MethodName(int? Property1, string Property2, List&lt;int?&gt; Property3)"
  </code></pre>
  
  <p>and receive method and property names as string array. Something like this:</p>
  
  <pre><code>["MethodName","Property1","Property2","Property3"]
  </code></pre>
  
  <p>I've tried this:
  <a href="https://stackoverflow.com/questions/51752670/regex-to-get-method-parameter-name">Regex to get method parameter name</a></p>
  
  <p>and this 
  <a href="https://stackoverflow.com/questions/7679818/regex-to-extract-function-name-its-parameters">Regex to extract function-name, &amp; it&#39;s parameters</a></p>
  
  <p>But could not get results I needed</p>