very simple.... In class B you are calling base.method() which is only possible if the method is virtual not abstract
On 6/14/10, Akter Suriya <[email protected]> wrote: > > One of my friend asked me this question. > > class A > { > XXX method1() > ...... > } > > > class B : A > { > override method1 () > { > base.method1(); > } > } > > He says, how can we identify, XXX (written in front of method1 in class A) > is virtual or abstract. > Can anybody help me. Thanks. > > -- > Suriya > >
