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 can COM Components use in .NET? The .NET components can communicate with COM using RCW (Runtime Callable Wrapper). The ways with which you can generate RCW are as shown bel

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

What is object-oriented programming (OOP)? OOP is a technique to develop logical modules, like classes that contain properties, methods, fields, and events. An object is formed

I need help in Web application that will run stand alone in IIS (MS SQL) 2 activities / Tasks Code web user management module (create user, assign license, simple authorizati

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

The problem statement is pretty simple. We need a software implementation of a Point of Sale terminal at a typical store. The users of the system are the cashiers sitting at the sa

sir, i just trapped in decryption.....wud u plz help me

What is assembly? Assemblies are the building blocks of .NET Framework applications; they form the fundamental unit of deployment, version control, reuse, activation scoping, a

What are the different types of literals? A literal is a textual representation of an exacting value of a type. The dissimilar types of literals in Visual Basic are: Boo

Can a .NET web application consume Java web service? Yes Offcourse.Actually Webservices are independent  to language. It depends on WSDL and SOAP. so any one can develope the W