Code/C#

C# Dispatcher.BeginInvoke에 lambda식 사용

Segel 2021. 8. 12. 00:56

문제:
    Dispatcher.BeginInvoke(() => {}); 사용 시
    Cannot convert lambda expression to type 'Delegate' because it is not a delegate type 오류 발생

해결:
    using System.Windows.Threading; 삽입

반응형