Tråd: Hello World.
View Single Post
Får slenge inn et lite bidrag for å få ting i gang:
using System;

namespace HelloWorld
{
class hewo
{
static void Main()
{
string one;
string two;
string three;
string four;
int ione;
Random iojne = new Random();

ione = iojne.Next(0, 3);

if (ione == 1)
{
one = "hell";
two = " worl";
}
else
{
one = "hello,";
two = " world";
}
if (one == "hell")
{
three = "o,";
four = "d";
}
else
{
three = "";
four = "";
}
string coll;
coll = one + three + two + four;
Console.WriteLine(coll);

}
}
}
Vis hele sitatet...
For øvrig skrevet i C#
Sist endret av Bitronic; 15. februar 2009 kl. 23:31. Grunn: tilleggsinformasjon