Learn to Code
John F. Dumas
contact me | resume | how it works | example programs | testimonials | main page

Why Learn C#?

► Unlike languages such as C or C++, C# comes with everything you need to build gui programs right out-of-the-box.

Here's an example program that shows a rotating, 5-sided polygon. Observe that only about 60-70 lines of code are required to create this application. Here's the source and a screenshot of the running application (file: test.cs):

Source Code

► Being part of the .Net framework means that C# has access to a wealth of tools and libraries.

► C# is popular. As of July, 2021, the TIOBE Index of programming popularity was:

  1. C
  2. Java
  3. Python
  4. C++
  5. C#

► Object oriented, very similar to Java but with some substantial improvements such as Properties and LINQ.

► The Unity game engine has a .Net api so you can write your games in C#. Also, Unity's editor application's under interface is written in C#.



Back to Examples Index

© John F. Dumas | johnfdumas@gmail.com | main page | top of page