It depends on if it is virtual or not. With this level of understanding (and very bad writing; this is simply impolite) you're not ready to ask questions here. First, read on OOP (
http://en.wikipedia.org/wiki/Object-oriented_programming[
^]), learn C++ and/or C# by manuals and exercises.
If you did, it would not be possible that you asked such questions.
Also, here are some learning guidance for your information:
I have a problem with my program. Please help![
^], locate and read my answer.
—SA