Nested classes, DOT NET Programming

What is nested Classes?

You can access an array using the INDEX value of that array, but how many times you know the real value of the index. The Hashtable provides a way of accessing the index using a user identified KEY value, and hence removing the INDEX problem.

Public Class ClsNested

Public Class ChildNested

Public Sub ShowMessage()

MessageBox.Show("Hi this is nested class") End Sub

End Class

End Class

This is the way we can instantiate the nested class and make the method call.

Dim pobjChildNested As New ClsNested.ChildNested()

pobjChildNested.ShowMessage()

Posted Date: 9/22/2012 3:17:29 AM | Location : United States







Related Discussions:- Nested classes, Assignment Help, Ask Question on Nested classes, Get Answer, Expert's Help, Nested classes Discussions

Write discussion on Nested classes
Your posts are moderated
Related Questions
how to create log in form using vb 2010

How can we create custom controls in ASP.NET? The User controls are created using .ASCX in ASP.NET. After that .ASCX file is created you need two things in order to that the AS

Need code for Windows 8 and Windows Phone 8 that will http post images to a php file on web server. Project Description: I am working on two projects on both Windows 8/RT and

Job Portal A one-stop explanation to all your needs. Consist of employee as well as employer login accounts. Employee capable to look for jobs. Employer capable to post jobs.

How do we connect to SQL SERVER, which namespace do we use ? The code is shown below, after that i will  give the explanation for it. For this sample we will also require a SQL

finding greatest of n no''s in c#

What is the use of DISPOSE method? This Dispose method belongs to the IDisposable interface. It is bad  to override the finalize method for writing the cleaning of the unmanage

Experienced Outlook addin (Microsoft Office) developer Project Description: About us in a nutshell: We are a young start-up that buys a refreshing product in the field of ent

Howto create a simple stylesheet for a web application