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
What are similarities between Class and structure? The similarities between structures and classes are as follows:- 1) Both can have constructors, properties, methods, field

Project Description: We want to design and develop a new Sportbook Platform from scratch, subsequent functionality: - Have a full functionality like other similar websites (S

Explain MVC and how it is diffrennt from Asp.net

What are advantages of SQL 2000 over SQl 7.0? 1)User-Defined Functions: The User-Defined Functions (UDFs) -- one or moreTransact-SQL statements may be used to encapsulate the

TASK - DESIGN ALGORITHM You are required to design a suitable solution algorithm by using either structured chart, pseudocode or flowchart. This diagram should clarify the proce

What's the difference between localization and globalization? Globalization: The Globalization is a process of developing a program core whose features and code design are no

How do we access attributes using "XmlReader"? The below snippets represents the way to access attributes. At First in order to check whether there any attributes present in th

how make the google sign up page?

I need some a VBA expert urgent Project Description: I require a VBA expert for scraping data from internet. .NET, Excel, Data Processing, Visual Basic

Describe all elements in Static Chart diagrams. Package: - The Package logically groups element of a UML model. Class: - The Class describes all set of objects with