Vb net Programming Flashcards
What is full form of CLR?
COMMON LANGUAGE RUNTIME
Define CLR
The CLR is described as the “execution engine” of .net it provides the environment within which the programs run.
CLR Provide Services Names
Code compilation
Memory allocation(memory management)
Thread management
Garbage collection
Exception handling
Security mechanisms
Full form of FCL?
Framework Class Library
Full form of BCL?
Base Class Library
Description of Common type System?
Common Type System (CTS) describes a set of data types it ensures that objects written in different .NET supported languages can interact with each other.
describes Common Language Specification
It is subset of CTS.it defines a set of rules and restrictions that every language must follow which runs under .NET framework.
How to declare of Variables & Data Types.
Dim keyword use Declare variables:
Dim Area as Integer
Definition of Boxing
Boxing means converting a value type variable to object type boxing is implicit conversion.
definition of unboxing User define data types
Unboxing means converting an object type to value type variable unboxing is explicit conversion
Conditional Statement declaration in VB .NET
if conditional then
Statements
Else if conditional then
Statements
End If
Select case Statement Syntex
Select Case TextExpression
Case ExpressionList
Statements
Case ExpressionList2
Statements
Case Else
Statements
End Select
Vb .NET For loop Statement Syntex.
For counter[As Datatype]=start To end [Step end]
Statements
Next
Use namespaces advantage
The main advantage of using namespaces is to avoid conflicts when you have mulitple classes with the same name.
Visual Studio .Net Input box Syntex
Dim asn as String
ans=InputBox(“plese enter the name”,”demo”,”OM”,200,200)