John,
As Herfried suggests, yes its new in .NET 2.0.
It is the "gateway" to Generics, which is a powerful new feature in .NET 2.0
that opens up Parametric Polymorphism. Parametric Polymorphism & other types
of polymorphism are explained here:
http://www.javaworld.com/javaworld/j...polymorph.html http://en.wikipedia.org/wiki/Polymor...mputer_science)
Here are some addition links on Generics:
http://msdn.microsoft.com/library/de...tml/vs04k1.asp http://www.tsbradley.net/Presentations/Generics.aspx http://msdn2.microsoft.com/en-us/library/w256ka79.aspx
--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley -
http://www.tsbradley.net
"johnb41" <js********@gmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
| Is the "Of" keyword new to VB.NET 2.0?
|
| For example, I am trying to make sense of the sample screensaver
| application that's packaged with Express 2005 Edition.
|
| In many of it's classes, it has code like so:
|
| Public Class XYZ (Of T as IItem)
| ...
| End Class
|
| I've never actually seen "Of" in any code sample before.
|
| 1) Is this new to the updated VB.NET language?
| 2) What does it mean/do?
|
| I can't google it because it strips the word "of" in all searches.
|
| Thanks!
| John
|