Skip to content

Instantly share code, notes, and snippets.

@christopherhouse
Created November 5, 2013 19:38
Show Gist options
  • Save christopherhouse/7324850 to your computer and use it in GitHub Desktop.
Save christopherhouse/7324850 to your computer and use it in GitHub Desktop.
public Type GetTypeFromString()
{
string typeName = "ThirteenDaysAWeek.TypeLoadFromString.Domain`1[[ThirteenDaysAWeek.TypeLoadFromString.CustomerModel, ThirteenDaysAWeek.TypeLoadFromString, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]";
Type theType = Type.GetType(typeName);
return theType;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment