Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~208 People Reached
Favorite Forums
Member Avatar for Karan_4

Please Explain me the code A a = b as A; Iam confused with it public class A { public virtual void One(); public void Two(); } public class B : A { public override void One(); public new void Two(); } B b = new B(); A a = …

Member Avatar for ddanbe
0
96
Member Avatar for Karan_4

**new** and** virtual** *Keyword* are the same as i feel,since new Keyword in the method hides the same base class methods whereas virtual keyword override the base class,So what is difference between new and virtual ,and how to determine when to use anyone of it? [CODE] public class Base123 { …

Member Avatar for Ketsuekiame
0
112