O
Oltmans
Hello all. I'm a novice when it comes to C#. I'm using C# using Visual
Studio 2005 and .NET 2.0. I've a scenario and I thought some smart
people would let me know a better way of doing it. I will appreciate
all the help.
I've defined number of methods like
public Method1(){
}
public Method2(){
}
public Method3(){
}
public Method4(){
}
public Method5(){
}
and I've to call the sequentially like
Method1();
Method2();
Method3();
Method4();
Method5();
Calling them sequentially one by one doesn't seem like a great
solution. Is there a better way of doing it? Can we somehow store
method references in arrays in C# (2.0) and then iterate over them one
by one? Please suggest me a better way of doing this. It has to be in
C# (.NET 2.0). Thanks.
I will really appreciate any help and a fresh perspective on this.
Agan, thanks for the time and help.
Studio 2005 and .NET 2.0. I've a scenario and I thought some smart
people would let me know a better way of doing it. I will appreciate
all the help.
I've defined number of methods like
public Method1(){
}
public Method2(){
}
public Method3(){
}
public Method4(){
}
public Method5(){
}
and I've to call the sequentially like
Method1();
Method2();
Method3();
Method4();
Method5();
Calling them sequentially one by one doesn't seem like a great
solution. Is there a better way of doing it? Can we somehow store
method references in arrays in C# (2.0) and then iterate over them one
by one? Please suggest me a better way of doing this. It has to be in
C# (.NET 2.0). Thanks.
I will really appreciate any help and a fresh perspective on this.
Agan, thanks for the time and help.