// CS0310: The type `string' must have a public parameterless constructor in order to use it as parameter `T' in the generic type or method `Program.Ret()' // Line: 10 public static class Program { static void Main () { Ret (); } static T Ret () where T : new () { return new T (); } }