Passing parameter as final in C#

Posted by Ravisha on Stack Overflow See other posts from Stack Overflow or by Ravisha
Published on 2010-04-16T07:16:46Z Indexed on 2010/04/16 7:23 UTC
Read the original article Hit count: 279

Filed under:
|
|

This might be a duplicate question.But could not find it in search In java to mark a method parameter as constant we declare it as final whats the equivalent C# keyword?

Like:

public void doSomeThing(final object myObject)
{
  //print myobject
}

© Stack Overflow or respective owner

Related posts about c#

Related posts about method