Visual Basic (Declaration) | |
---|---|
Public MustInherit NotInheritable Class Singleton(Of T As {New}) |
C# | |
---|---|
public static class Singleton<T> where T: new() |
- T
System.Object
CSharpTest.Net.Interfaces.Singleton<T>
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7