Parsing FQN of enum constant to enum constant w/o splitting the string
<p>Trying to parse an commandline argument ( 'MyNameSpace.MyEnumClassName.MyConstantName') in order to get the constant.</p>

<p>Is this possible without extracting the EnumClassName? I know that I could get the constant with 
<code>Type.GetType(...);
Enum.Parse(...)</code></p>

<p>But is there a direct way?</p>

<p>Background:
This argument can be used for different things. There can be a fqn of a class, a constant, ... I know it's not kind of 'clean', but that`s not part of this question.</p>