how to get class type from string c# code example Example: c# get type of class Type tp = value.GetType();