VB.Net Generic Constraints

Latest post 05-28-2008 5:42 PM by Nick. 0 replies.
  • 05-28-2008 5:42 PM

    • Nick
    • Top 10 Contributor
    • Joined on 04-28-2008
    • Posts 27

    VB.Net Generic Constraints

    Public Function Create(Of T As {AbstractBase, New})(ByVal Name as String) As T
     Dim Entity as T = new T()
     Entity.Name = Name
     Return Entity
    End Function

Page 1 of 1 (1 items) | RSS
Forums to discuss Microsoft ASP.Net Development and SQL
Powered by Community Server (Non-Commercial Edition), by Telligent Systems