By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,234 Members | 1,889 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,234 IT Pros & Developers. It's quick & easy.

c sharp problem

P: n/a
How can i declare an array in c#?

Jo******@hotmail.com

Sep 30 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
hk**********@hotmail.com said:
How can i declare an array in c#?
extern int array[ARRAY_LEN]; /* save this line in a file called c#.c */

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Sep 30 '06 #2

P: n/a
hk**********@hotmail.com wrote:
How can i declare an array in c#?
Declare it in C and transpose it by a semitone?

Failing that, Google is your friend, as is microsoft.public.dotnet.vsharp.
But don't bother them with trivial questions like these; they show you're
lazy in the bad way.

S.
Sep 30 '06 #3

P: n/a
Skarmander wrote:
hk**********@hotmail.com wrote:
How can i declare an array in c#?
Declare it in C and transpose it by a semitone?

S.
Oh man, that was comedy gold.

Sep 30 '06 #4

P: n/a
clayne wrote:
Skarmander wrote:
>hk**********@hotmail.com wrote:
>>How can i declare an array in c#?
Declare it in C and transpose it by a semitone?
Oh man, that was comedy gold.
You don't want to know how much fun I had when C# was first announced. Oh,
the endless stream of bad puns!

Of course, the joke wears thin quickly, but then, so does one's patience at
posts like the OP's.

S.
Sep 30 '06 #5

P: n/a
hk**********@hotmail.com writes:
How can i declare an array in c#?
In case you didn't pick up on the sarcasm, the point being made is
that this is the wrong place to ask. C and C# are two different
languages; asking about C# here makes no more sense than asking about
Cobol.

There's probably some microsoft.* group where your question would be
topical. (Though I would think that something as fundamental as how
to declare an array should be covered in any decent book or tutorial.)

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Sep 30 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.