|
Why should I?
It looks like your assignment, not mine. If I would explain, it would be not your own words.
|
|
|
|
|
I tried, but I'm just not very argumentative, and that function made a really good point.
|
|
|
|
|
I don't doubt C# itself, just some parts of the BCL.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
Why have you delet helpful post and do this
|
|
|
|
|
I realised I was "helping" you with an assignment which actually was the opposite of helping - because it made thinking on your part unneccessary. Help should be given in a way that pushes the learner into the right direction, lifting confusion, but not presenting the answer right away. Confucius is attributed to have said:
Tell me and I forget
Show me and I remember
Let me do it and I understand.
If you have trouble with an assignment, don't ask for the answer. Try to make it clear to yourself why you can't answer it and ask people to help you better understand the assignment so that you can answer it yourself.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
... and you because you're not teaching him ...
|
|
|
|
|
... you because you're teaching him ...
|
|
|
|
|
Don't get it!?
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
(buzzer "eehhnn") No, we're sorry, wrong answer!
(we were looking for a question "which of these thumbs is on the DARK SIDE?")
|
|
|
|
|
I didn't know I was participating in a quiz - instead my response was intended to tell you that I don't understand your apparent criticism of my reponse to the OP. Care to elaborate?
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
Well,
It's just that quoting Con-fu-dse is a little like quoting Russell then refering to "common useage" as if Russell hadn't footnoted him in using the word "common".
This is the Lounge, by the way. Did I get that wrong? Looks like the Lounge anyway.
|
|
|
|
|
When in doubt, use C++.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Because reasons.
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Fie upon your reasons. Because, because, because, that's why, that's why, that's why!
I am not a number. I am a ... no, wait!
|
|
|
|
|
|
It's terrible how people just don't want to help you with your homework on this forum. A long time ago I actually used to be a Professor trying to teach Computer Science to small groups of selected, gifted students, so let me explain, in my own words, how to answer this question as I have many times in the past when dealing with similar issues: "I leave this one for my students to answer themselves after class. Hand in your answers by the end of the week and I will assess and awards the appropriate number of points. This will count towards your final grade."
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Think about what the params arguments are doing - then think about why you might not be able to add other keywords. If it helps, you should go and read the documentation to get some hints.
This space for rent
|
|
|
|
|
After the params keyword is issued a Zombie Apocalypse is set in motion and only a keen C# developer can issue a certain combination of keywords that will thwart the impending doom.
New version: WinHeist Version 2.2.2 Beta tomorrow (noun): a mystical land where 99% of all human productivity, motivation and achievement is stored.
|
|
|
|
|
Explain, with your own words or not, why this place calls itself 'The Lounge' and why the people react as they do.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
No homework questions in the Lounge, please!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Why can't you read the friendly manual[^]?
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Actually, the "friendly manual" isn't answering his question. It only confirms the statement in the assignment that you cannot add any parameters after the params keyword, but not why!
Unless of course "B'cause Microsoft says so!" is an acceptable answer to the question...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
- because the compiler forbade it?
- because
Method<T>(params T[] values1, params T[] values2, params T[] values3) is a problem and hassel to understand without benefit?
|
|
|
|
|
Because params is an array of undetermined length.
If you write:
void Foo(params int[] ints)
and try to call it with:
Foo(1, 2, 3, 4)
How would it know that you want 4 as a separate argument, if the method were defined like this:
void Foo(params int[] oneThroughThree, int fourth)
OK, maybe it could use type information, but that leads to bottomless pits where the Wumpus will eat you.
Marc
|
|
|
|