Quantcast
Channel: Answers by "AyAMrau"
Viewing all articles
Browse latest Browse all 91

Answer by AyAMrau

$
0
0
In this case the <> signs are used not to mean less than or greater than, but they are a syntax used with generic methods to supply a specific type to be used by the method. [Here's the MSDN page on generic methods][1] Basically the AddComponent method doesn't define what component should be added, so you are supplying the type you want using this syntax. [1]: http://msdn.microsoft.com/en-GB/library/twcad0zb.aspx

Viewing all articles
Browse latest Browse all 91

Trending Articles