mardi 4 août 2015

Difference between .NET's System.Type.GenericTypeArguments and System.Type.GetGenericArguments()

Why does the .NET Framework provide both

System.Type.GenericTypeArguments

and

System.Type.GetGenericArguments()

which both return the type arguments (both as a Type[]) of a given generic type ?

Seems the property and the method expose the very same functionality, meaning the API's interface has redundant/duplicate functionalities ?

Aucun commentaire:

Enregistrer un commentaire