R.Tanaka.Ichiro's Blog

主にC# な話題です

目次

Blog 利用状況

ニュース

re: LINQ to Object な話題

var c = (from x in this.grid.Columns.OfType<DataGridViewColumn>() where x.Visible select x).Min();
あるいは
var c = (from DataGridViewColumn x in this.grid.Columns where x.Visible select x).Min();

cf)
http://d.hatena.ne.jp/siokoshou/20071125#p2

投稿日時 : 2007年12月5日 14:32