Learn programming with
C# Sharp
exercises
C# Sharp
lessons
First contact with C# Sharp
14
Flow Control
34
Basic Data Types
23
Arrays, Structures and Strings
25
Functions
37
Object Oriented Programming
7
More On Classes
13
File Management
41
Object Persistence
4
Access To Relational Databases
3
Dynamic Memory Management
13
Additional Libraries
10
Top 10 most viewed
C# Sharp
exercises
251
Classes Student + Teacher
Create a new project, and include in it the class Person that you just created. Create a class "Student" and another class "Teacher", both descenda...
196
First contact with C#
Create a program (in C#) to print Hello on screen and then print your name (in a separate line)....
152
C to C# converter
Create a program to convert simple C programs, such as the following one, to C#: Note: the resulting program must compile correctly. Test it with oth...
138
Class Photo Album
Create a class "PhotoAlbum" with a private attribute "numberOfPages." It should also have a public method "GetNumberOfPages", which will return the...
124
Function GetInt
Create a function named "GetInt", which displays on screen the text received as a parameter, asks the user for an integer number, repeats if the numbe...
104
DBF extractor
Create a program that displays the list of fields stored in a DBF file. The DBF format is the one used by the old dBase database manager, and support...
102
Vowel - switch
Create a program to ask the user for a symbol and answer if it is a (lowercase) vowel, a digit, or any other symbol, using "switch"....
102
Class Square
Complete the project named "Shapes" (january 8th), adding a class named "Square" to it. For each square, we will store its starting X and Y coordinate...
100
Function GetMinMax
Create a function named "GetMinMax", which will ask the user for a minimum value (a number) and a maximum value (another number). It should be called ...
99
Break & continue
Create a C# program to write the even numbers from 10 to 20, both included, except 16, in 3 different ways: - Incrementing 2 in each step (use "con...