G
GregNga
I am new to C# and have a couple questions about using "abstract"
1) If you define a method as abstract do you have to specify abstract on the
class defintion as well or is it implied or can you have an abstract method
in a class that is not abstract
2) If you have a base class and a derived class that both have a method wit
the same signature, do you have to specify virtual on the base class method
and override on the derived class method if you want the derived class to use
the version of the method defined in the derived class
1) If you define a method as abstract do you have to specify abstract on the
class defintion as well or is it implied or can you have an abstract method
in a class that is not abstract
2) If you have a base class and a derived class that both have a method wit
the same signature, do you have to specify virtual on the base class method
and override on the derived class method if you want the derived class to use
the version of the method defined in the derived class