How do I get around this lambda expression outer variable issue?

后端 未结 4 1841
感情败类
感情败类 2021-01-19 18:47

I\'m playing with PropertyDescriptor and ICustomTypeDescriptor (still) trying to bind a WPF DataGrid to an object, for which the data is stored in a Dictionary.

Sinc

4条回答
  •  庸人自扰
    2021-01-19 19:10

    For some additional thoughts on this issue see

    http://ericlippert.com/2009/11/12/closing-over-the-loop-variable-considered-harmful-part-one/

提交回复
热议问题