|
Related Questions |
View Answer |
|
What is an Assembly?
|
View Answer
|
|
What is managed code and managed data?
|
View Answer
|
|
How do I get Version Information From The AssemblyInfo File?
|
View Answer
|
|
Destructors are used to de-allocate resources i.e. to clean up after an object is no longer available.
Finalize is the destructor which is normally used. Finalize is called automatically when the .NET runtime determines that the object is no longer being used. Using the Finalize method in code looks like this:
Public Class Form1 Inherits System.Windows.Forms.Form Dim obj1 as new Class1 () End Class Public Class Dest Protected overrides Sub Finalize() ‘ calling the Finalize method End Sub End Class
|
View Answer
|
|
What is the concept of destructors in VB.NET?
|
View Answer
|
|
How to convert the format of images in VB.NET?
|
View Answer
|
|
How to work with an interface in VB.NET?
|
View Answer
|
|
How do I read and write data to an XML file?
|
View Answer
|
|
How to get the environment information in VB.NET?
|
View Answer
|
|
How to get computer name and IP address?
|
View Answer
|
|
What is Anchoring and Docking?
|
View Answer
|
|
How do I write data to a text file in VB.NET?
|
View Answer
|
|
How do I use the InputBox Function?
|
View Answer
|
|
How do I create Procedure Delegates?
|
View Answer
|
|
How do I handle Date and Time in VB.NET?
|
View Answer
|
|
The following code shows how text can be converted from lower case to upper.
Module Module1 Sub Main () Dim str1 as String=”Welcome to String” Dim str2 as String Str2=UCase(str1) Or Str2=Str1.ToUpper System.Console.WriteLine(str2) End Sub
|
View Answer
|
|
How do I convert text from lower case to upper case in VB.NET?
|
View Answer
|
|
What are Enumerations in VB.NET and how are they used?
|
View Answer
|
|
What are attributes in Visual Basic .NET?
|
View Answer
|
|
What is the importance of the Option statement?
|
View Answer
|