B
Brian Schwartz
Hi all,
I'm developing a control in C# using the .NET 2.0 framework. The control
makes use of generics, such as this event declaration:
public event EventHandler<StatusNotificationEventArgs>
StatusNotification;
Will a control using these 2.0 features be usable in older versions of
Visual Studio? For example, since the original C# .NET did not support
generics, will a developer be able to use the syntax necessary to hook to
the above event?
TestCtl1.StatusNotification += new
EventHandler<GenericsTest.StatusNotificationEventArgs>(TestCtl1_StatusNotification);
Thanks,
Brian
I'm developing a control in C# using the .NET 2.0 framework. The control
makes use of generics, such as this event declaration:
public event EventHandler<StatusNotificationEventArgs>
StatusNotification;
Will a control using these 2.0 features be usable in older versions of
Visual Studio? For example, since the original C# .NET did not support
generics, will a developer be able to use the syntax necessary to hook to
the above event?
TestCtl1.StatusNotification += new
EventHandler<GenericsTest.StatusNotificationEventArgs>(TestCtl1_StatusNotification);
Thanks,
Brian