4 public interface IFace
\r
9 public delegate string ToStr (string format, IFormatProvider format_provider);
\r
12 public class GenericClass<T> where T : IFormattable
\r
16 public GenericClass (T t)
\r
21 public void Method ()
\r
23 ToStr str = new ToStr (field.ToString);
\r
25 Console.WriteLine (str ("x", null));
\r
28 public void Test (T t) { }
\r
35 public static void Main (string [] args)
\r
37 GenericClass<int> example = new GenericClass<int> (99);
\r