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

Rank Change Language Share Trend
1 up arrow Python 27.35 % +5.2%
2 down arrow Java 20.64 % -1.8 %
3 Javascript 8.4% -0.2 %
4 up arrow C# 7.45 % -0.5 %
5 down arrow PHP 7.18 % -1.1 %
6 C/C++ 6.08 % -0.3 %
7 R 4.18 % -0.1 %
8 Objective-C 2.86% -0.8 %
9 Swift 2.47 % -0.4%
10 Matlab 2.06 % -0.3 %
11 up arrow TypeScript 1.64 % +0.2 %
12 down arrow Ruby 1.39 % -0.3 %
13 VBA 1.39% +0.0 %
14 up arrow Kotlin 1.18% +0.3 %
15 Scala 1.16 % -0.0 %
16 up arrow Go 1.14 % +0.3 %
17 down arrow Visual Basic 1.11 % -0.2 %
18 down arrow Perl 0.58 % -0.2 %
19 Rust 0.54 % +0.2 %
20 Lua 0.37 % +0.0 %
21 up arrow Haskell 0.29% +0.0 %
22 up arrow Julia 0.27% +0.1 %
23 down arrow Delphi 0.26% -0.0 %

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

TIOBE Index for March 2019

Apr 2019 Apr 2018 Change Programming Language Ratings Change
1 1 Java 15.035% -0.74%
2 2 C 14.076% +0.49%
3 3 C++ 8.838% +1.62%
4 4 Python 8.166% +2.36%
5 6 up arrow Visual Basic .NET 5.795% +0.85%
6 5 down arrow C# 3.515% -1.75%
7 8 up arrow JavaScript 2.507% -0.99%
8 9 up arrow SQL 2.272% -0.38%
9 7 down arrow PHP 2.239% -1.98%
10 14 up arrow Assembly language 1.710% +0.05%
11 18 up arrow Objective-C 1.505% +0.25%
12 17 up arrow MATLAB 1.285% -0.17%
13 10 down arrow Ruby 1.277% -0.74%
14 16 up arrow Perl 1.269% -0.26%
15 11 down arrow Delphi/Object Pascal 1.264% -0.70%
16 12 down arrow R 1.181% -0.63%
17 13 down arrow Visual Basic 1.060% -0.74%
18 19 up arrow Go 1.009% -0.17%
19 15 down arrow Swift 0.978% -0.56%
20 68 up arrow Groovy 0.932% +0.82%

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



New Content: Composer: Dependency manager for PHP, R Programming