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
Accepting a List of 5 Items - C# Program Hello, I've been trying so many codes for this but those codes didn't work well. Please write the code for Accepting a List of 5 Items

how we can display a alphabets by identifies an image and if its different than show someother alpbabets.

How do you implement prototype pattern in .NET? The Cloning is achieved by using the ICloneable of the System namespace. It has a "Clone" method that actually returns the refer

Create login page: Consider the login page for a typical webmail service, such as GMail or Outlook Mail. Your task for this assignment is to design a test plan for such a logi

The ASP.NET new feature supports are shown below :- Better Language Support 1) The New ADO.NET Concepts have been implemented. 2) The ASP.NET supports complete  language

Project Description: I need support on .net c# automation testing Additional Project Description: Project is on Visual Studio, creating Automation and TFS Test development

How can we use .NET components in COM .NET components can't be used in straight forward way with the COM. You will require to create CCW in order to communicate COM components

Can you give an example of what might be best suited to place in the application_Start and Session_Start subroutines? Application Start - We can place code to initialize


How can we use Culture Auto in project? We will make a very simple login screen which we will try to use for English as well as the Greek. The login screen will display Engl