LoginSignup
0
0

More than 1 year has passed since last update.

[C#] オブジェクト配列の最小最大値を求める

Posted at

自分メモ。Linqを使えばいい。

var prop1Max = objectArray.Select(a => a.prop1).Max();
0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0