c# - What is the open generic type of the array []? -
when int[]
, string[]
, t[]
- generic array. array object else.
so actual open generic type of []? assume syntactic sugar on array<>
haven't been able find of sort.
bonus points if can somehow answer before jon skeet.
it's system.array; isn't generic. see here brief discussion: http://blogs.msdn.com/b/ericlippert/archive/2007/10/17/covariance-and-contravariance-in-c-part-two-array-covariance.aspx
Comments
Post a Comment