A
Arjen
Hello,
Let's see this sample code.
Here is the main.
<cut>
namespace A {
/// <summary>
/// Singleton
/// </summary>
class A {
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args) {
Persons persons = new Persons();
</cut>
Here is class b.
<cut>
public class B {
public bool PersonManager() {
IDictionaryEnumerator iter = persons.GetEnumerator();
</cut>
Now "persons.GetEnumerator();" is not working because it is not accesable.
How can I acces it? I must use it inside class a and I need exacly the same
one.
Many Thanks!
Let's see this sample code.
Here is the main.
<cut>
namespace A {
/// <summary>
/// Singleton
/// </summary>
class A {
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args) {
Persons persons = new Persons();
</cut>
Here is class b.
<cut>
public class B {
public bool PersonManager() {
IDictionaryEnumerator iter = persons.GetEnumerator();
</cut>
Now "persons.GetEnumerator();" is not working because it is not accesable.
How can I acces it? I must use it inside class a and I need exacly the same
one.
Many Thanks!