문제:
Dispatcher.BeginInvoke(() => {}); 사용 시
Cannot convert lambda expression to type 'Delegate' because it is not a delegate type 오류 발생
해결:
using System.Windows.Threading; 삽입
반응형
'Code > C#' 카테고리의 다른 글
C# Generic: 서로 다른 타입 인수를 가진 제네릭 타입을 한 컬렉션에 담기 (0) | 2023.01.24 |
---|---|
C# SQLite .db파일 없을 시 생성하지 않기 (0) | 2021.10.12 |
C# switch Conflicting variable is defined below (0) | 2021.09.08 |
C# foreach Collection was modified 오류 (0) | 2021.08.26 |
C# No process is associated with this object (0) | 2021.08.07 |
C# 단일 파일 빌드: 파일 중복 오류 (0) | 2021.07.25 |
단일 파일로 빌드한 결과물이 에러와 함께 즉시 종료 (0) | 2021.07.25 |
C# .NET 5.0 단일 파일로 빌드 (0) | 2021.07.24 |