TCP/IP の第4層、アプリケーション層は、OSI 参照モデルの第4層~第7層までに対応している。
TCP/IP の第1層、ネットワークインターフェース層は、OSI 参照モデルの第1層~第2層に対応している。
class Program { static void Main(string[] args) { string text = "abc"; ModifyText(text); Console.WriteLine("ModifyText の後:" + text); ModifyTextOut(out text); Console.WriteLine("ModifyTextOut の後:" + text); Console.ReadLine(); } private static void ModifyText(string param) { param = "xxx"; } private static void ModifyTextOut(out string param) { param = "zzz"; } }
1 0 0 0 1 0 0 3 1
1 0 0 | 1 0 0 0 1 0 | 0 1 0 0 3 1 | 0 0 1
1 0 0 | 1 0 0 0 1 0 | 0 1 0 0 0 1 | 0 -3 1