KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Say I have two overloaded versions of a C# method: void Method( TypeA a ) { } void Method( TypeB b ) { } I call the method with: Method( null ); Which overload of the method is called? What can I do to ensure that a particular overload is called?
Tags (comma-separated)
Save Edits
Cancel