static void Main(string[] args) { string roleType = Console.ReadLine(); var role = RoleFactory.Get(roleType); }