+ 2

C# vs C vs C++

So what is the difference between C# and normal C? I know that C++ is basically just a newer version of C, is that correct?

10th May 2019, 2:28 AM
Jesse
Jesse - avatar
3 ответов
+ 5
C++ is not newer version of C, the 3 languages are different, C&C++ just have little similar syntax
10th May 2019, 2:56 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
TheCoder | Check The Codes I Make :) In C++ there's no need of memory management since 2010. You have smart pointers which solve many problems with ownership and deleting pointers ;) Btw. in c# there are objects which have to be manually disposed, like streams. You either initialize them and then call stream.Dispose(), or use "using" directive like: using (var stream = new MemoryStream() { }// here it is being Disposed
10th May 2019, 6:53 AM
Jakub Stasiak
Jakub Stasiak - avatar