I want to ask if there is some difference between
public int Method1([In, Out] byte[] buffer);
and
public int Method2(byte[] buffer);
I came across http://referencesource.microsoft.com/#mscorlib/system/io/stream.cs,739 and wonder why [In, Out]
is there?