tag:blogger.com,1999:blog-3329736017315021535.post8775754633482639161..comments2024-03-27T00:21:33.276-07:00Comments on C# Interview Questions TopicWise: Answer a Ques !!!Unknownnoreply@blogger.comBlogger6125tag:blogger.com,1999:blog-3329736017315021535.post-48356704878983419302022-03-29T07:43:33.416-07:002022-03-29T07:43:33.416-07:00You Can Aks Any Topic in this webste Answers &...You Can Aks Any Topic in this webste <a href="https://www.ehrahul.com/" rel="nofollow">Answers & Questions</a> & You Can Get Answer Asap ! So Why To Late ? Just Join This Community ! PIRGACHA.COMhttps://www.blogger.com/profile/09596984705764620405noreply@blogger.comtag:blogger.com,1999:blog-3329736017315021535.post-67126910290376579972016-03-11T13:59:55.867-08:002016-03-11T13:59:55.867-08:00Hey Nice Post, Keep Updating more question and ans...Hey Nice Post, Keep Updating more question and answers<br />http://allittechnologies.blogspot.com/Erukulla'shttps://www.blogger.com/profile/14708762911706634382noreply@blogger.comtag:blogger.com,1999:blog-3329736017315021535.post-9568851327341584492015-01-19T03:21:34.405-08:002015-01-19T03:21:34.405-08:00This comment has been removed by the author.Pankajhttps://www.blogger.com/profile/03205154926233547135noreply@blogger.comtag:blogger.com,1999:blog-3329736017315021535.post-68821874420162606892013-05-23T00:28:37.910-07:002013-05-23T00:28:37.910-07:00BECAUSE VB DON'T HAD MULTIPLE INHERITANCE. C# ...BECAUSE VB DON'T HAD MULTIPLE INHERITANCE. C# CREATED USING VBjawaharhttps://www.blogger.com/profile/05589978688957232452noreply@blogger.comtag:blogger.com,1999:blog-3329736017315021535.post-60724169085803810932011-08-02T21:18:27.011-07:002011-08-02T21:18:27.011-07:00Thanks alka for that replyThanks alka for that replyChaithrahttps://www.blogger.com/profile/09071724072525696776noreply@blogger.comtag:blogger.com,1999:blog-3329736017315021535.post-55191222480484900422011-07-23T04:35:58.581-07:002011-07-23T04:35:58.581-07:00Multiple inheritance may allow you to write compac...Multiple inheritance may allow you to write compact code but it is not come of free<br /><br />it make the program difficult to understand or debug simplicity and making it easy to write robust code is one of c# design goals in other hand multiple inheritance have common problems like<br /><br />diamond problem for example<br /><br /><br /><br />class MyBase<br /><br />{<br />public abstract void Test();<br />}<br />class FirstChild : MyBase<br /><br />{<br />public override void Test()<br />{<br />Debug.WriteLine("First Child");<br />}<br />}<br />class SeconedChild : MyBase<br /><br />{<br />public override void Test()<br />{<br />Debug.WriteLine("SeconedChild");<br />}<br />}<br />//Now Suppos that c# support multiple inheritance<br /><br />class AnotherChild : FirstChild, SeconedChild<br />{<br />}<br />//now some where in your program<br /><br />//you write some thing like<br /><br />AnotherChild child=new AnotherChild();<br />child.Test();alkahttps://www.blogger.com/profile/15930437815931593224noreply@blogger.com