C#C
C#12mo ago
nathanAjacobs

Declaring methods with `in` parameters

If a I'm writing a synchronous method, should I always declare read-only value types with the
in
keyword.

void Foo(in int i)
{
    
}
Was this page helpful?