KDE or GNOME?

S

Simon

using System;
using System.Collections;

class Test
{
[STAThread]
static void Main()
{
ArrayList replies = new ArrayList();

foreach (Poster p in Newsgroup.Instance.Posters) {
string reply = p.PoseQuestion("Do you prefer KDE or GNOME?");
replies.Add(reply);
}

foreach (string reply in replies) {
BrainHelper.ProcessReply(reply);
}
}
}
 
I

Ioannis Vranos

Simon said:
using System;
using System.Collections;

class Test
{
[STAThread]
static void Main()
{
ArrayList replies = new ArrayList();

foreach (Poster p in Newsgroup.Instance.Posters) {
string reply = p.PoseQuestion("Do you prefer KDE or GNOME?");
replies.Add(reply);
}

foreach (string reply in replies) {
BrainHelper.ProcessReply(reply);
}
}
}


What language is that. The using statements above resemble strongly the .net
namespaces so i assume C# or VB. Anyway this message is off topic in
comp.lang.c.






Ioannis Vranos
 
C

Case

Ioannis said:
using System;
using System.Collections;

class Test
{
[STAThread]
static void Main()
{
ArrayList replies = new ArrayList();

foreach (Poster p in Newsgroup.Instance.Posters) {
string reply = p.PoseQuestion("Do you prefer KDE or GNOME?");
replies.Add(reply);
}

foreach (string reply in replies) {
BrainHelper.ProcessReply(reply);
}
}
}



What language is that. The using statements above resemble strongly the .net
namespaces so i assume C# or VB. Anyway this message is off topic in
comp.lang.c.

I'm convinced that with a number of -D... CPPFLAGS this code could
be obfuscated into valid C.
 
K

Kenneth Brody

Mark A. Odell said:
This does not belong in comp.lang.c, we don't have classes.

What do you mean? I see classes in C given at local schools all the time.
 
L

|lobo|

Simon said:
using System;
using System.Collections;

class Test
{
[STAThread]
static void Main()
{
ArrayList replies = new ArrayList();

foreach (Poster p in Newsgroup.Instance.Posters) {
string reply = p.PoseQuestion("Do you prefer KDE or GNOME?");
replies.Add(reply);
}

foreach (string reply in replies) {
BrainHelper.ProcessReply(reply);
}
}
}

this is C#
i think it's a joke. but i don't understand it.
 
?

=?iso-8859-1?Q?Lin=F8nut?=

Error BR-549: MS DRM 1.0 rejects the following post from Mark A. Odell:
This does not belong in comp.lang.c, we don't have classes.

Sure you do. Just go to The Learning Tree.
 
C

Case

|lobo| said:
Simon said:
using System;
using System.Collections;

class Test
{
[STAThread]
static void Main()
{
ArrayList replies = new ArrayList();

foreach (Poster p in Newsgroup.Instance.Posters) {
string reply = p.PoseQuestion("Do you prefer KDE or GNOME?");
replies.Add(reply);
}

foreach (string reply in replies) {
BrainHelper.ProcessReply(reply);
}
}
}


this is C#
i think it's a joke. but i don't understand it.

C# is a joke, like all other Micro$oft products.
Just kidding.
Just kidding.

Case
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top