0
Which other programs has the similar coding structure?
Can we use the same structure for C, C++, C sharp
2 Respuestas
+ 3
C can be used for embedded systems, drivers, firmware, OS, writing another language, and a lot of functionality that might be closer to the hardware. It can also be used for building console apps and other application types as well.
C++ is an extension of C that brings object oriented programming support and makes coding in C much easier. C, by itself, requires a lot more code to do things that might be much simpler in other languages like Java/C#.
C#/Java have a runtime / VM that provides memory management and is abstracted from the hardware.
Languages like these are typically faster, easier, and safer to implement/develop. This is mostly due to the simplicity of the language constructs, offloading memory management to garbage collection, and a lot more benefits I won't have space to fit here.
C#, in particular, is used for so much more than Windows Desktop GUI. With .NET Core, C# can now run natively on Mac and Linux.
C# is also used by Xamarin for transpiling to native languages used by macOS, iOS, Android, and other systems.
I've been building many RESTful APIs using WebAPI in C#, microservices, Windows Services, and console apps as well. In the past, I did quite a bit with ASP.NET MVC for web development. I now use JS frameworks on the browser to connect to RESTful APIs.
The Unity3D Game engine also uses C# for building 2D/3D games for a variety of platforms.
- 1
But all of these does the same function, Right. Which one is best preferred and advantages over the other