Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
/// <Summary>
/// typeparamタグを使うとメソッドの型パラメータの説明を表示してくれます。
/// </Summary>
/// <typeparam name="T">型パラメータの説明がここに表示されます。</typeparam>
T[] TypeparamMethod<T>()
// 指定された型で大きさが5の配列を返します。
return new T[5];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.