The Auto modifier specifies that Visual Basic should marshal strings according to . Specifies that an argument is passed in such a way that the called procedure or property cannot change the value of a variable underlying the argument in the calling code.It is used under the contexts of: Specifies that one or more declared programming elements are accessible from within the assembly that contains their declaration, not only by the component that declares them.
If both the operands are true, then condition becomes true.Write Line("Exam Questions for Higher Classes") #End If Console.Read Key() End Sub End Module An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. Net is rich in built-in operators and provides following types of commonly used operators: This tutorial will explain the most commonly used operators.It is the logical as well as bitwise Logical Exclusive OR operator.It returns True if both expressions are True or both expressions are False; otherwise it returns False. Read Key() End Sub End Module An array stores a fixed-size sequential collection of elements of the same type. For example, Dim int Data(30) ' an array of 31 elements Dim str Data(20) As String ' an array of 21 strings Dim two Darray(10, 20) As Integer 'a two dimensional array of integers Dim ranges(10, 100) 'a two dimensional array Module array Apl Sub Main() Dim n(10) As Integer ' n is an array of 11 integers ' Dim i, j As Integer ' initialize elements of array n ' For i = 0 To 10 n(i) = i 100 ' set element at location i to i 100 Next i ' output each array element's value ' For j = 0 To 10 Console.All these directives begin with #, and only white-space characters may appear before a directive on a line. Unlike C and C directives, they are not used to create macros. Net provides the following set of compiler directives: This directive is used for indicating a mapping between specific lines of source code and text external to the source.