out (C# リファレンス)out (C# Reference)
out
キーワードは、次の 2 つのコンテキストで使うことができます。You can use the out
keyword in two contexts:
パラメーター修飾子として。この場合、値ではなく参照で、メソッドに引数を渡すことができます。As a parameter modifier, which lets you pass an argument to a method by reference rather than by value.
インターフェイスおよびデリゲートのジェネリック型パラメーターの宣言で。この場合は、型パラメーターが共変であることを指定します。In generic type parameter declarations for interfaces and delegates, which specifies that a type parameter is covariant.
関連項目See also
フィードバック
フィードバックを読み込んでいます...