Java
VB.Net
Learn programming
C#
C#
lessons
First contact with C# Sharp
14
Flow Control
34
Basic Data Types
23
Arrays, Structures and Strings
25
Functions
37
OOP Object Oriented Programming
7
OOP 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#
exercises
489
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...
448
First contact with C#
Create a program (in C#) to print Hello on screen and then print your name (in a separate line)....
283
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...
232
Positive and negative
Write a C# program to get a number and answer whether it is positive or negative....
231
Class Photo Album
Create a class "PhotoAlbum" with a private attribute "numberOfPages." It should also have a public method "GetNumberOfPages", which will return the...
217
Sum of two numbers
Write a C# program to print the result of adding 12 and 13 on screen....
194
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...
185
DBF extractor
Create a program that displays the list of fields stored in a DBF file. The DBF format is used by the old dBase database manager and is still suppo...
178
Function WriteRectangle
Create a function WriteRectangle to display a (filled) rectangle on the screen, with the width and height indicated as parameters, using asterisks. Co...
168
Password 5 attempts
Write a C# program that prompts the user for their username and password. Both should be strings. After 5 incorrect attempts, the user will be rejecte...