D
Darren.Ratcliffe
Hi Everyone
I was wondering if you could help me. In short, I would like to know
how I can do the folloing from VB.NET in C#:
Private m_CurrentItem As Product
(this will give me an instance of my Product class.
Here's the long-winded version.
I am using a base-class "Visit" for my application which will then
contain instances of classes below it (i.e. XmlBuilder and PkgAvail).
What I would like to do is confugure a number of public variables (or
proteceted?) which can be set in my .aspx by Visit.Configure(x,y,z).
Then in my XmlBuilder class, I want to access the pubilc variables that
I have defined in my Visit class.
Does that make any sense?
I am largely finding my feet with some of the more advanced OO stuff,
so I am sorry if it doesn't make too much sense!
Many many thanks in advance!
Daz
I was wondering if you could help me. In short, I would like to know
how I can do the folloing from VB.NET in C#:
Private m_CurrentItem As Product
(this will give me an instance of my Product class.
Here's the long-winded version.
I am using a base-class "Visit" for my application which will then
contain instances of classes below it (i.e. XmlBuilder and PkgAvail).
What I would like to do is confugure a number of public variables (or
proteceted?) which can be set in my .aspx by Visit.Configure(x,y,z).
Then in my XmlBuilder class, I want to access the pubilc variables that
I have defined in my Visit class.
Does that make any sense?
I am largely finding my feet with some of the more advanced OO stuff,
so I am sorry if it doesn't make too much sense!
Many many thanks in advance!
Daz