+ 1

what is difference between c++ and c#? what is advantages of c#?

3rd Mar 2017, 5:57 PM
Md. Shifullah
Md. Shifullah - avatar
2 Réponses
+ 9
Here is some diffrences & advantages ; 1)C# : - C# is a high level language that is component oriented. - When compiled, C# code is converted into Intermediate language code. This intermediate language code is converted into executable code through the process called Just-In-Time compilation. - In C#, memory management is automatically handled by garbage collector. - In C# Switch Statement, the test variable can be a string. - In C# switch statement, when break statement is not given, the fall through will not happen to the next case statement if the current case statement has any code. - In addition to for, while and do..while, C# has another flow control statement called for each. 2)C++ : - C++ is a low level and indeed platform neutral programming language. - When compiled, C++ code is converted into assembly language code. - In C++, the memory that is allocated in the heap dynamically has to be explicitly deleted. - In C++ Switch Statement, the test variable cannot be a string. - In C++ switch statement, when break statement is not given, the fall through will happen to the next case statement even if the current case statement has any code. - C++ does not contain for each statement.
3rd Mar 2017, 8:02 PM
Hassan Amr
Hassan Amr - avatar
+ 1
why c# is used to build windows apps?
4th Mar 2017, 3:29 PM
Md. Shifullah
Md. Shifullah - avatar