User-submitted CSharp Projects

366
10231 reads
SelectionSort
A program demonstrating a simple implementation of Selection Sort in C#.
Run It Now!
338
9052 reads
DealOrNoDeal
Deal or no deal is a game based on luck and fun. first, you have 11 numbered boxes containing cash values e.i 0,1,10,100,....
DealOrNoDeal

Run It Now!
272
4526 reads
ram17

using System;

class Array
{

public static void Main()
{

int[] myInts = { 5, 10, 15 };


Run It Now!
234
4067 reads
rudz's picture

Submitted by

rudz
division
a handy division calculator
Run It Now!
206
2733 reads
ram12

using System;

class IntIndexer
{
private string[] myData;

public IntIndexer(int size)
{
myData = new string[size];


Run It Now!
203
3072 reads
ram8

using System;

using System.Threading;

class MyThread {

public int count;

string thrdName;

public MyThread(string name) {

count = 0;

thrdName = name;


Run It Now!
202
3561 reads
ram15

using System;
class VarAccess
{
class AccessCls
{
public int num1 = 123;
// int num2 = 54;
}
static void Main()
{
AccessCls cls = new AccessCls();
int num1 = 98;

num1 = cls.num1;
//int


Run It Now!
200
2635 reads
ZeroesInFactorial
Program to find the number of zeroes in the factorial of a number( tried Upto 10000000000), in a fraction of a second. Got the answer for 1000000000 in 0.005 seconds.
Run It Now!
196
2858 reads
ram11

using System;

public class MyClass
{
public static void Main()
{
int num1 = 6;
int num2 = 23;
int res = num1 + num2;
if (res > 25)


Run It Now!
186
2270 reads
ram10

//Program for displaying date,time
using System;

class MainClass {

public static void Main() {

string t;

DateTime dt = DateTime.Now;

t = dt.ToString("D")


Run It Now!