New answers tagged


The in keyword in a parameter list is used to pass an argument by reference. This is used to speed up passing big structs. Since strings and lists are of a reference type, a reference is passed anyway. Specifying ref, out or in makes them be passed a reference to a reference. This makes only sense for ref or out parameters when the method must replace the ...

Top 50 recent answers are included