Q:

Parameters with no identifiers in C#?

In C++ it is possible to skip method parameter identifier if it's unused:
void foo( int, int ) {}

This is very useful in case of interface implementations where a huge number of method has empty body. Is it possible to do something similiar in C#? Straight test gives error:
public void OnAddInsUpdate( ref Array )  {} // Error, need identifier :(

A:

Afraid not - take a look at the language spec here:

http://msdn.microsoft.com/en-us/library/aa645760%28VS.71,classic%29.aspx
http://msdn.microsoft.com/en-us/library/aa645761%28VS.71%29.aspx

A:

This is not supported by the C# language.

A:

I don't believe this is possible. If you have unused parameters you should probably consider overloading or named parameters (new in C# 4.0).

