1 / 42

C vs C# :What Should I Learn? | Difference Between C And C# | Simplilearn

This slide on C vs C# will acquaint you with a clear understanding of the difference between C And C#. In this C vs C# Tutorial, you will start with an introduction to C# and an introduction to C . Finally, we will cover the differences on various features of programming in C & C# Comparision Section. We will talk about memory management, application, projects, compilation, Binaries, platform dependency etc.<br><br>The topics covered in this slide are:<br><br>1. Introduction to C vs C#<br>2. What is C# Language?<br>3. What is C Language?<br>4. Differences between C vs C#<br>5.Conclusion to C vs C#

Simplilearn
Download Presentation

C vs C# :What Should I Learn? | Difference Between C And C# | Simplilearn

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Agenda

  2. Agenda What is C# 01 01 What is C++ 02 Difference Between C# and C++ 03 Conclusion 04

  3. Click here to watch the video

  4. What is C# Programming?

  5. What is C# Programming? C# is a Microsoft object-oriented programming language that runs on the .Net Framework. Strong typing, imperative, declarative, object-oriented and component-oriented programming are some of its features. C# Programming C# was created by Microsoft under the direction of Anders Hejlsberg and his team.

  6. What is C++ Programming?

  7. Programming Languages C++ is a low-level object-oriented programming language. It can be used to create OS, browsers, games, and so on. C++ supports around seven different styles of programming. C++ Programming

  8. Difference between C# and C++

  9. Difference Between C# vs C++ C# Programming C++ Programming

  10. Difference Between C# vs C++ Memory Management C# Programming C++ Programming C# automatically handles memory management.

  11. Difference Between C# vs C++ Memory Management C# Programming C++ Programming If we dynamically allocate an object in C++, we must manage memory manually.

  12. Difference Between C# vs C++ Platform Dependency C# Programming C++ Programming C# is specifically used in windows.

  13. Difference Between C# vs C++ Platform Dependency C# Programming C++ Programming C++ language runs on platforms like Windows, Unix or Linux.

  14. Difference Between C# vs C++ Multiple Inheritance C# Programming C++ Programming C# does not support multiple inheritances.

  15. Difference Between C# vs C++ Multiple Inheritance C# Programming C++ Programming C++ support multiple inheritance through classes.

  16. Difference Between C# vs C++ Bound Checking C# Programming C++ Programming C# supports bound checking in array which is performed by compiler.

  17. Difference Between C# vs C++ Bound Checking C# Programming C++ Programming C++ does not support bound checking of arrays.

  18. Difference Between C# vs C++ Use of Pointers C# Programming C++ Programming In C# Language, pointers can only be used only in unsafe mode.

  19. Difference Between C# vs C++ Use of Pointers C# Programming C++ Programming In C++ Language, pointers can be used anywhere in the program.

  20. Difference Between C# vs C++ Language Type C# Programming C++ Programming C# is high-level Object-Oriented Programming Language.

  21. Difference Between C# vs C++ Language Type C# Programming C++ Programming C++ is a low-level Object-Oriented Programming Language.

  22. Difference Between C# vs C++ Level of Difficulty C# Programming C++ Programming C# is simple to learn because it has a well-defined class hierarchy.

  23. Difference Between C# vs C++ Level of Difficulty C# Programming C++ Programming C++ Language has a lot of complex features.

  24. Difference Between C# vs C++ Application Types C# Programming C++ Programming C# language is used to develop various applications like mobile, windows, and console applications.

  25. Difference Between C# vs C++ Application Types C# Programming C++ Programming C++ language is typically used to develop console applications.

  26. Difference Between C# vs C++ Compilation Result C# Programming C++ Programming After compilation, C# code is transformed to intermediate language code.

  27. Difference Between C# vs C++ Compilation Result C# Programming C++ Programming After compilation, C++ code is translated to Machine code.

  28. Difference Between C# vs C++ Object Oriented C# Programming C++ Programming C# Language is a pure object-oriented programming language.

  29. Difference Between C# vs C++ Object Oriented C# Programming C++ Programming Due to its primitive data types, C++ is not a pure object-oriented programming language.

  30. Difference Between C# vs C++ Access Specifier C# Programming C++ Programming Access specifiers in C# include public, private, protected, internal, and protected internal.

  31. Difference Between C# vs C++ Access Specifier C# Programming C++ Programming In the C++ programming language, access modifiers are public, private, and protected.

  32. Difference Between C# vs C++ Type of Projects C# Programming C++ Programming C# Language is majorly used to develop modern applications.

  33. Difference Between C# vs C++ Type of Projects C# Programming C++ Programming C++ programs are typically used for applications that interact directly with hardware.

  34. Difference Between C# vs C++ Size of Binaries C# Programming C++ Programming The C# programming language has a lot of overhead, and libraries must be included before it is compiled.

  35. Difference Between C# vs C++ Size of Binaries C# Programming C++ Programming C++, on the other hand, has much more lightweight binaries.

  36. Conclusion

  37. Conclusion C++ Language is a low-level programming language that extends the base C language  with object-oriented programming capabilities, whereas C# is a high-level language.

  38. Conclusion C++ code is compiled to machine code, whereas C# code is compiled to CLR (Common Language Runtime), which is then interpreted by JIT in ASP.NET.

  39. Conclusion Memory management in C++ is done manually, whereas in C#, the virtual machine takes care of it automatically.

More Related