ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT

VB.Net Basic Programs

  1. Program to print Hello World in VB.NET
  2. VB.Net program to demonstrate the difference between Console.Write() and Console.WriteLine() methods
  3. VB.Net program to print backslash (\) character on the console screen
  4. VB.Net program to demonstrate the use of the 'vbTab' constant
  5. VB.Net program to demonstrate the use of the 'vbCrLf' constant
  6. VB.Net program to convert a double number into an integer number
  7. VB.Net program to convert different types of variables into the string
  8. VB.Net program to input and print an integer variable
  9. VB.Net program to demonstrate the bitwise operators
  10. VB.Net program to print the binary number of a decimal number
  11. VB.Net program to print the total bits required to store a given integer number
  12. VB.Net program to count the total number of high bits in a given integer number
  13. VB.Net program to demonstrate the left-shift operator (<<)
  14. VB.Net program to demonstrate the right-shift operator (>>)
  15. VB.Net program to perform BITWISE AND operation
  16. VB.Net program to perform BITWISE OR operation
  17. VB.Net program to perform BITWISE XOR operation
  18. VB.Net program to demonstrate the BITWISE NOT operator
  19. VB.Net program to perform the LOGICAL AND operation using the AndAlso operator
  20. VB.Net program to perform the LOGICAL OR operation using the OrElse operator
  21. VB.Net program to check the palindrome of the binary number using bitwise operators
  22. VB.Net program to check the given number is even or odd
  23. VB.Net program to check EVEN/ODD using bitwise operators
  24. VB.Net program to swap two numbers using a BITWISE XOR operator
  25. VB.Net program to check Nth bit of an integer number is SET or not
  26. VB.Net program to check the given number is EVEN or ODD using conditional operator
  27. VB.Net program to find the largest number between two numbers using a conditional operator
  28. VB.Net program to find the largest number among three numbers using conditional operator
  29. VB.Net program to check the given number is POSITIVE or NEGATIVE using conditional operator
  30. VB.Net program to check leap year
  31. VB.Net program to check the given year is leap year or not using conditional operator
  32. VB.Net program to calculate the area of the circle
  33. VB.Net program to calculate the perimeter of the circle
  34. VB.Net program to calculate the area of the rectangle
  35. VB.Net program to calculate the Highest Common Factor (HCF)
  36. VB.Net program to calculate the multiplication of two numbers using the '+' operator
  37. VB.Net program to round off the value of the floating-point number
  38. VB.Net program to get a large value using Math.Max() method
  39. VB.Net program to get the smallest value using Math.Min() method
  40. VB.Net program to produce the full product of two 32-bit integer numbers
  41. VB.Net program to truncate the value of the floating-point number
  42. VB.Net program to find the angle for specified sine value
  43. VB.Net program to find the angle for specified cosine value
  44. VB.Net program to find the angle for specified tangent value
  45. VB.Net program to find the sine value for the specified angle
  46. VB.Net program to find the cosine value for the specified angle
  47. VB.Net program to find the tangent value for the specified angle
  48. VB.Net program to find the hyperbolic sine of the specified angle
  49. VB.Net program to find the hyperbolic cosine of the specified angle
  50. VB.Net program to find the hyperbolic tangent of the specified angle
  51. VB.Net program to demonstrate the Math.DivRem() method
  52. VB.Net program to demonstrate the Math.Exp() method
  53. VB.Net program to demonstrate the use of Math.IEEERemainder() method
  54. VB.Net program to find the logarithm value of a specified number
  55. VB.Net program to demonstrate the Math.Log10() method
  56. VB.Net program to find the sign of a specified number using Math.Sign() method
  57. VB.Net program to find the division of a student based on a given percentage
  58. VB.Net program to demonstrate the use of 'select case'
  59. VB.Net program to demonstrate the use of 'select case' with a given range
  60. VB.Net program to use a comma ',' to use multiple options in 'select case'
  61. VB.Net program to demonstrate the nested 'select case'
  62. VB.Net program to demonstrate the duplicate case in the 'select case'
  63. VB.Net program to create a simple calculator using 'select case'
  64. VB.Net program to demonstrate the use of the GoTo statement
  65. VB.Net program to print the table of given number using GoTo statement
  66. VB.Net program to print the ASCII values of numbers from 1 to 5 using the GoTo statement
  67. VB.Net program to print the HEX values of numbers from 1 to 15 using the GoTo statement
  68. VB.Net program to print 1, 11, 31, 61, ..., 10 times using GoTo statement
  69. VB.Net program to read a name and print 5 times using GoTo statement
  70. VB.Net program to print the square of numbers from 1 to 5 using the GoTo statement
  71. VB.Net program to demonstrate the Mid() function
  72. VB.Net program to demonstrate the Trim() function
  73. VB.Net program to demonstrate the LTrim() function
  74. VB.Net program to demonstrate the RTrim() function
  75. VB.Net program to demonstrate the InStr() function
  76. VB.Net program to demonstrate the UCase() function
  77. VB.Net program to demonstrate the LCase() function
  78. VB.Net program to demonstrate the Chr() function
  79. VB.Net program to demonstrate the Asc() function
  80. VB.Net program to demonstrate the Hex() function
  81. VB.Net program to demonstrate the Oct() function
  82. VB.Net program to demonstrate the Fix() function
  83. VB.Net program to demonstrate the CInt() function
  84. VB.Net program to demonstrate the CSByte() function
  85. VB.Net program to demonstrate the CShort() function
  86. VB.Net program to demonstrate the CUShort() function
  87. VB.Net program to demonstrate the CByte() function
  88. VB.Net program to demonstrate the CSng() function
  89. VB.Net program to demonstrate the CDbl() function
  90. VB.Net program to demonstrate the CDec() function
  91. VB.Net program to demonstrate the CLng() function
  92. VB.Net program to demonstrate the CULng() function
  93. VB.Net program to demonstrate the CStr() function
  94. VB.Net program to print date and time in 'dd/mm/yyyy hh:mm:ss' format using Format() function
  95. VB.Net program to print date and time in 'day, month dd, yyyy' format using Format() function
  96. VB.Net program to print date and time in different formats using Format() function
  97. VB.Net program to print given number in different formats using Format() function
  98. VB.Net program to demonstrate the CBool() function
  99. VB.Net program to demonstrate the Val() function
  100. VB.Net program to demonstrate the GetChar() function
  101. VB.Net program to reverse the given number using the While loop
  102. VB.Net program to check the given number is palindrome or not using the While loop
  103. VB.Net program to count the digits of a given number using the While loop
  104. VB.Net program to check the given number is Armstrong or not using the While loop
  105. VB.Net program to print the table of given number using Do Loop While
  106. VB.Net program to print 1, 11, 31, 61, ... using Do Loop While
  107. VB.Net program to read a name and print 5 times using the Do Loop While
  108. VB.Net program to demonstrate the boxing
  109. VB.Net program to demonstrate the un-boxing
  110. VB.Net program to create a constant using const keyword
  111. VB.Net program to print the name of Enum constants
  112. VB.Net program to print the default initialized values of Enum constants
  113. VB.Net program to print the explicitly initialized values of Enum constants
  114. VB.Net program to create a global variable
  115. VB.Net program to create a simple class and object
  116. VB.Net program to create multiple objects of the class
  117. VB.Net program to create an array of objects of the class
  118. VB.Net program to create an empty class
  119. VB.Net program to create a class to add two distances
  120. VB.Net program to create a Student class and read and print Student detail
  121. VB.Net program to create an object of class inside another class
  122. VB.Net program to demonstrate the private methods inside the class
  123. VB.Net program to demonstrate the const and read-only data members
  124. VB.Net program to demonstrate the default or no-argument constructor
  125. VB.Net program to demonstrate the parameterized constructor
  126. VB.Net program to demonstrate the constructor overloading
  127. VB.Net program to demonstrate the constructor chaining
  128. VB.Net program to demonstrate the copy constructor
  129. VB.Net program to demonstrate the destructor
  130. VB.Net program to demonstrate the method of overloading based on the different number of arguments
  131. VB.Net program to demonstrate the method-overloading based on the different types of arguments
  132. VB.Net program to demonstrate the method overloading based on a different order of arguments
  133. VB.Net program to overload non-member functions
  134. VB.Net program to overload Main() function
  135. VB.Net program to demonstrate the method overloading with type promotion
  136. VB.Net program to demonstrate the method overloading with type demotion
  137. VB.Net program to demonstrate the simple inheritance
  138. VB.Net program to demonstrate the simple inheritance with constructors
  139. VB.Net program to demonstrate the simple inheritance with destructors
  140. VB.Net program to demonstrate the multi-level inheritance
  141. VB.Net program to demonstrate the tree or hierarchical inheritance
  142. VB.Net program to demonstrate the inheritance with the protected member
  143. VB.Net program to demonstrate the hybrid inheritance
  144. VB.Net program to demonstrate the simple inheritance with student information
  145. VB.Net program to demonstrate the simple interface
  146. VB.Net program to implement an interface in the structure
  147. VB.Net program to demonstrate the multiple-inheritance using the interface
  148. VB.Net program to demonstrate the multiple-inheritance using interface and structure
  149. VB.Net program to demonstrate the nested interface
  150. VB.Net program to demonstrate the interface inheritance
  151. VB.Net program to demonstrate the MustInherit class
  152. VB.Net program to demonstrate the NotInheritable class
  153. VB.Net program to override a base class method into derived class
  154. VB.Net program to call base class and derived class overridable method using base class reference
  155. VB.Net program to demonstrate the MyBase keyword
  156. VB.Net program to demonstrate the MustOverride keyword
  157. VB.Net program to demonstrate the abstract class
  158. VB.Net program to demonstrate the shared methods
  159. VB.Net program to demonstrate the shared data member of the class
  160. VB.Net program to count the total created objects using a shared member
  161. VB.Net program to demonstrate the 'Me' object
  162. VB.Net program to demonstrate the 'MyClass' keyword
  163. VB.Net program to demonstrate the 'Friend' keyword
  164. VB.Net program to overload unary minus (-) operator
  165. VB.Net program to overload binary plus (+) operator
  166. VB.Net program to overload 'Mod' operator
  167. VB.Net program to overload binary multiplication (*) operator
  168. VB.Net program to overload arithmetic operators
  169. VB.Net program to overload less than (<) and greater than (>) operator
  170. VB.Net program to overload equal to (=) and not equal to (<>) operators
  171. VB.Net program to overload less than equal to (<=) and greater than equal to (>=) operators
  172. VB.Net program to overload the logical 'And' operator
  173. VB.Net program to overload the logical 'Or' operator
  174. VB.Net program to overload the logical 'Xor' operator
  175. VB.Net program to overload 'IsTrue' and 'IsFalse' operators
  176. VB.Net program to overload bitwise left shift (<<) operator
  177. VB.Net program to overload bitwise right shift (>>) operator
  178. VB.Net program to overload Not operator
  179. VB.Net program to overload exponential (^) operator
  180. VB.Net program to overload concatenates (&) operator
  181. VB.Net program to overload Like operator
  182. VB.Net program to demonstrate Set and Get properties
  183. VB.Net program to implement ReadOnly property
  184. VB.Net program to implement WriteOnly property
  185. VB.Net program to demonstrate Set and Get properties with structure
  186. VB.Net program to demonstrate the indexer
  187. VB.Net program to demonstrate the default property
  188. VB.Net program to overload the property
  189. VB.Net program to demonstrate a simple delegate
  190. VB.Net program to demonstrate a simple delegate with non-member function
  191. VB.Net program to demonstrate a simple delegate with a method of a structure
  192. VB.Net program to call multiple methods using a single-cast delegate
  193. VB.Net program to demonstrate the multicast delegate
  194. VB.Net program to pass a method as a parameter using a delegate
  195. VB.Net program to check an object is initialized or not
ADVERTISEMENT




Comments and Discussions

ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT

Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.