User-submitted CSharp Projects

364
8076 reads
eklavyamirani's picture

Submitted by

eklavyamirani
SelectionSort
A program demonstrating a simple implementation of Selection Sort in C#.
Run It Now!
333
5162 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
3392 reads
ramrayster's picture

Submitted by

ramrayster
ram17

using System;

class Array
{

public static void Main()
{

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


Run It Now!
233
2992 reads
rudz's picture

Submitted by

rudz
division
a handy division calculator
Run It Now!
206
2342 reads
ramrayster's picture

Submitted by

ramrayster
ram12

using System;

class IntIndexer
{
private string[] myData;

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


Run It Now!
203
2505 reads
ramrayster's picture

Submitted by

ramrayster
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
2314 reads
ramrayster's picture

Submitted by

ramrayster
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
2062 reads
eklavyamirani's picture

Submitted by

eklavyamirani
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
2043 reads
ramrayster's picture

Submitted by

ramrayster
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
1796 reads
ramrayster's picture

Submitted by

ramrayster
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!
Make & share a project and showcase your talent to the world!