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

UNREFERENCED_PARAMETER for C#?

P: n/a
Hi all,

Is there an UNREFERENCED_PARAMETER alike macro in C#?

Thanks
zxli
Jan 24 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"zxli" <im****@hotmail.comwrote in message
news:%2******************@TK2MSFTNGP05.phx.gbl...
Hi all,

Is there an UNREFERENCED_PARAMETER alike macro in C#?
There are no macros in C#, only preprocessor variables.

I don't think C# generates warnings for unused parameters, only unused local
variables. If it does, try giving the parameter a type but no variable name
(that eliminates the warning in C/C++).
>
Thanks
zxli

Jan 24 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.