How to add constructor to a clasS in VB.NET

While making  the class create a function named "new"

public class  NameOfTheClass

public sub new ()
End sub

public Sub new( str As String , Str1 As String )
End Sub
End class



This is a small example to show how to make the constructor

Comments

Popular posts from this blog

Initializing list and collection in c#.net

Power Apps Choice Column Default Value with connector as Sharepoint

RichTextBox Field in power apps as Sharepoint online defalut forms.