w3resource
C# Sharp Exercises

C# Sharp Programming Exercises, Practice, Solution

What is C# Sharp?

C# is an elegant and type-safe object-oriented language that enables developers to build a variety of secure and robust applications that run on the .NET Framework. You can use C# to create Windows client applications, XML Web services, distributed components, client-server applications, database applications, and much, much more.

C# syntax is highly expressive, yet it is also simple and easy to learn. The curly-brace syntax of C# will be instantly recognizable to anyone familiar with C, C++ or Java. Developers who know any of these languages are typically able to begin to work productively in C# within a very short time.

The best way we learn anything is by practice and exercise questions. We have started this section for those (beginner to intermediate) who are familiar with C# Sharp programming. Hope, these exercises help you to improve your C# Sharp programming coding skills. Currently, following sections are available, we are working hard to add more exercises .... Happy Coding!

List of C# Sharp Exercises :

Popularity of Programming Language
Worldwide, September 2019 compared to a year ago:

Rank Change Language Share Trend
1 Python 29.21 % +4.6 %
2 Java 19.9 % -2.2 %
3 Javascript 8.39 % +0.0 %
4 C# 7.23% -0.6 %
5 PHP 6.69 % -1.0 %
6 C/C++ 5.8 % -0.4 %
7 R 3.91 % -0.2 %
8 Objective-C 2.63% -0.7 %
9 Swift 2.46 % -0.3 %
10 Matlab 1.82 % -0.2 %
11 up arrow TypeScript 1.77 % +0.2 %
12 up arrow Kotlin 1.55% +0.6 %
13 VBA 1.44 % -0.0 %
14down arrow Ruby 1.4 % -0.2 %
15 up arrow Go 1.2 % +0.3 %
16 down arrow Scala 1.14 % -0.1 %
17 down arrow Visual Basic 1.05 % -0.1 %
18up arrow Rust 0.66 % +0.3 %
19 down arrow Perl 0.53 % -0.2 %
20 down arrow Lua 0.37 % -0.0 %
21 Haskell 0.3 % -0.0 %
22 up arrow Julia 0.29 % +0.1 %
23down arrow Delphi 0.27 % +0.0 %

Source : http://pypl.github.io/PYPL.html

TIOBE Index for August 2019

Sep 2019 Sep 2018 Change Programming Language Ratings Change
1 1 Java 16.661% -0.78%
2 2 C 15.205% -0.24%
3 3 Python 9.874% +2.22%
4 4 C++ 5.635% -1.76%
5 6 up arrow C# 3.399% +0.10%
6 5 down arrow Visual Basic .NET 3.291% -2.02%
7 8 up arrow JavaScript 2.128% -0.00%
8 9 up arrow SQL 1.944% -0.12%
9 7 down arrow PHP 1.863% -0.91%
10 10 Objective-C 1.840% +0.33%
11 34 up arrow Groovy 1.502% +1.20%
12 14 up arrow Assembly language 1.378% +0.15%
13 11 down arrow Delphi/Object Pascal 1.335% +0.04%
14 16 up arrow Go 1.220% +0.14%
15 12 down arrow Ruby 1.211% -0.08%
16 15 down arrow Swift 1.100% -0.12%
17 20 up arrow Visual Basic 1.084% +0.40%
18 13 down arrow MATLAB 1.062% -0.21%
19 18 down arrow R 1.049% +0.03%
20 17 down arrow Perl 1.049% -0.02%

Source : https://www.tiobe.com/tiobe-index/

List of Exercises with Solutions :

Note : The solution of the exercises described here are not the only ways to do stuff. Rather, it would be great, if this helps you anyway to choose your own methods.

[ Want to contribute to C# Sharp exercises? Send your code (attached with a .zip file) to us at w3resource[at]yahoo[dot]com. Please avoid copyrighted materials.]