Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
byte[] に拡張メソッドを記述する必要があります。それは可能ですか?
はい、次のようにします。
public static class Extensions { public static void Method(this byte[] current) { } }
もちろん、 type の最初のパラメーターを作成するだけbyte[]です。
byte[]