Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. what is meant by "with constructor"?

what is meant by "with constructor"?

Scheduled Pinned Locked Moved Visual Basic
question
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mnarayana3
    wrote on last edited by
    #1

    what is meant by "with constructor"?

    T L 2 Replies Last reply
    0
    • M mnarayana3

      what is meant by "with constructor"?

      T Offline
      T Offline
      Tom Deketelaere
      wrote on last edited by
      #2

      what do you mean exactly a constructor is the methode that is called when you initialize a form or a object a constructor is always in the following format public sub new() initializecomponent() ' only on a form and in every constructor end sub you can ad variabels between the ( and ) of the new you can also ad serveral constructors to 1 object or form hope this helps

      M 1 Reply Last reply
      0
      • T Tom Deketelaere

        what do you mean exactly a constructor is the methode that is called when you initialize a form or a object a constructor is always in the following format public sub new() initializecomponent() ' only on a form and in every constructor end sub you can ad variabels between the ( and ) of the new you can also ad serveral constructors to 1 object or form hope this helps

        M Offline
        M Offline
        mnarayana3
        wrote on last edited by
        #3

        I know that what is a constructor. but i want to know "with constructor" which is present in only vb.net but not in c#

        O 1 Reply Last reply
        0
        • M mnarayana3

          I know that what is a constructor. but i want to know "with constructor" which is present in only vb.net but not in c#

          O Offline
          O Offline
          originSH
          wrote on last edited by
          #4

          "with" is a keyword in VB.Net. http://www.publicjoe.f9.co.uk/vbnet/vb04a.html[^] So "with constructor" is using the 'with' keyword with a variable called 'constructor'.

          1 Reply Last reply
          0
          • M mnarayana3

            what is meant by "with constructor"?

            L Offline
            L Offline
            leckey 0
            wrote on last edited by
            #5

            You asked this question twice in this forum.

            ______________________ stuff + cats = awesome

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups