2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / tests / gtest-208.cs
blobe827dc8efd78f47ece58023da019c1b86d89d976
1 public class SomeClass {
4 public class Foo<T> where T : class {
5 public T Do (object o) { return o as T; }
8 class Driver {
9 static void Main ()
11 Foo<SomeClass> f = new Foo<SomeClass> ();
12 f.Do ("something");