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
Program for Declaration and Additions of Variables, I am a learner of C# language and i am struggling with the declaration of variables in C#. Can you have any code examples for th

General Overview A number of organisations are using micro-blogging as a cost-effective way of communicating with customers, building online communities and releasing informatio

What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why.   In a interface class, all methods are abstract without execut

Niles Video Inc. wants to create a website for online sales of movies (DVD and videotapes). People will be allowed to register as customers on the website and to update their store

When we create a private constructor, we can not create object of the class directly from the client. So you will use the private constructors whenever you do not want instances of

What is a host process? A host process is an implementable program that hosts a workflow. It might be a Windows Forms application, a Web application, or a Web service applicati

Project Description: Overview: Prepare Windows program that runs in the background and on start up on the client's computer that grabs CERTAIN data from a.SDF file (SQL Serve

.NET aplication with vBulletin paid subscribtion Project Description: I have an application in .net it's a simple client i have sheltered with net seal license system for aut

Explain the concept of destructor? A destructor is a special method for a class and is requested automatically when an object is finally destroyed. The name of the destructor i

Project Description: I am looking an app that mimics this app presently available here [justremotephone.com]. It has a nice set of features but also lacks a lot when it comes to