Do i need to learn C and C++ before learning C# and .Net?
I am not an IT graduate.
Please advise.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sunny SharmaPosted Sep 4, 2013, 2:07 PM
C# and C are so radically different in terms of programming paradigms. C# language is intended to be a simple, modern, general-purpose, object-oriented programming language. So It's probably better that you don't know C. The idioms are very different. My suggestion is that, if you're a non IT guy and intended to Learn C#, just start with that.
Hope it helps :)
Johan LennartssonPosted Mar 9, 2020, 9:30 AM
soni vermaPosted Sep 5, 2013, 12:14 AM
VulpesPosted Sep 4, 2013, 5:56 PM
However, you should be able to learn C# more quickly if you already know C/C++ because the 'control flow' statements: if/else, for, while, do, switch, break, continue, goto and return are much the same in all 3 languages.
The downside is that there will be some things which you need to 'unlearn' - for example the distinction between classes and structs is not the same in C# as it is in C++ and, unlike C++, C# doesn't support multiple inheritance.
Posted Sep 4, 2013, 5:26 PM