J Jon Skeet [C# MVP] Jun 14, 2008 #2 Tony Johansson said: Is it possible to use generics property? Click to expand... You can't make a property generic in the same way that you can make a method generic, i.e. introduce a new type parameter. However, you *can* make a property of a type parameter, e.g in IEnumerator<T> there's the property: T Current { get; }
Tony Johansson said: Is it possible to use generics property? Click to expand... You can't make a property generic in the same way that you can make a method generic, i.e. introduce a new type parameter. However, you *can* make a property of a type parameter, e.g in IEnumerator<T> there's the property: T Current { get; }