Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi every one i'm new with C# and friend of mine told me that i can use multiple inheritance in C# but i herad b4 that C# support only single inheritance

so is it support multilpe inheritance coz i search in msdn and i found that C++ the language that support multiple inheritance

  • Administrators
Posted

C# only supports single inheritance at the moment - the next release may support multiple inheritance (or not).

 

C# does support implementation of multiple interfaces though - this is often a good replacement for the C++ technique of multiple abstract base classes.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

Thanks PlausiblyDamp i want to ask u a question

i'm doing great with VB.net is there's a different between C# and Vb.net is it better i think they have the same power and another thing after while i want to learn C++ but every one told me oh no don't do it u r not gone need C++ anymore C++ is in the past and .net is the future is that right i think ppl hate c++ coz it's alittle hard do am right or not

  • Administrators
Posted

By and large VB.Net and C# are very similar - although C# does have a more 'c' like syntax plus a few extra C++ features (operator overloading being the only one that sprinigs to mind).

C++ is still going to have a major role in the industry as it is still a dominant language and there is an enourmous amount of code written in C/C++ that will need to be supported. It is however a harder language than VB / C# - you will need to evaluate how much time you want to spend learning a language in regards to the possible benefits.

Learning C# will get the general syntax of C/ C++ familiar and may be a good stepping stone into the world of C++.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

Thanks again PlausiblyDamp will i agree with u that learning

good stepping stone into the world of C++ and i'll start learning C# with VB.net actually i'm studying MCSD.Net courses with VB.net the best thing here that after the first 3 courses all the courses r the same for VB and C# and this make me able to compare the code and write it in the same language

anyway what is the best book for C#

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...