using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; namespace Bowin.Common.Utility { public class ReflectionHelper { public static object CreateByFullName(string classFullName) { try { string[] classNames = classFullName.Split(','); return Assembly.Load(classNames[1]).CreateInstance(classNames[0]); } catch (Exception ex) { return null; } } } }