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, August 2019 compared to a year ago:

Rank Change Language Share Trend
1 Python 28.73 % +4.5 %
2 Java 20.0 % -2.1 %
3 Javascript 8.35 % -0.1 %
4 C# 7.43% -0.5 %
5 PHP 6.83 % -1.0 %
6 C/C++ 5.87 % -0.3 %
7 R 3.92 % -0.2 %
8 Objective-C 2.7 % -0.6 %
9 Swift 2.41 % -0.3 %
10 Matlab 1.87 % -0.3 %
11 up arrow TypeScript 1.76 % +0.2 %
12 down arrow Ruby 1.44 % -0.2 %
13 up arrow Kotlin 1.43% +0.4 %
14 down arrow VBA 1.41 % -0.0 %
15 up arrow Go 1.21 % +0.3 %
16 down arrow Scala 1.15 % -0.1 %
17 down arrow Visual Basic 1.1 % -0.1 %
18up arrow Rust 0.63 % +0.3 %
19 down arrow Perl 0.58 % -0.1 %
20 down arrow Lua 0.37 % -0.0 %
21 Haskell 0.3 % +0.0 %
22 Delphi 0.27 % +0.0 %
23 Julia 0.26 % +0.1 %

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

TIOBE Index for August 2019

Aug 2019 Aug 2018 Change Programming Language Ratings Change
1 1 Java 16.028% -0.85%
2 2 C 15.154% +0.19%
3 4 up arrow Python 10.020% +3.03%
4 3 down arrow C++ 6.057% -1.41%
5 6 up arrow C# 3.842% +0.30%
6 5 down arrow Visual Basic .NET 3.695% -1.07%
7 8 up arrow JavaScript 2.258% -0.15%
8 7 down arrow PHP 2.075% -0.85%
9 14 up arrow Objective-C 1.690% +0.33%
10 9 down arrow SQL 1.625% -0.69%
11 15 up arrow Ruby 1.316% +0.13%
12 13 up arrow MATLAB 1.274% -0.09%
13 44 up arrow Groovy 1.225% +1.04%
14 12 down arrow Delphi/Object Pascal 1.194% -0.18%
15 10 down arrow Assembly language 1.114% -0.30%
16 19 up arrow Visual Basic 1.025% +0.10%
17 17 Go 0.973% -0.02%
18 11 down arrow Swift 0.890% -0.49%
19 16 down arrow Perl 0.860% -0.31%
20 18 down arrow R 0.822% -0.14%

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.]