0
When i pass an object like this; for example: SomeMethod(this); How i do point to this object inside body function?; like "this" too?
1 Respuesta
+ 1
SomeMethod(this); is your call to the function. the function definition will still be something like public void SomeMethod(SomeClass obj){ } . refer to it with the parameter name like any other parameter, (obj in my example)