0
이 작업을 계속하고 싶지만 구문 오류가 계속 발생합니다.사전의 KeyValuePair에 속성을 추가하는 방법은 무엇입니까?
public static Dictionary<string, string> websters = new Dictionary<string, string>
{
[Attrib(xx)]
{"SortIdxUnitLocation", "Int32"},
[Attrib(yy)]
{"DepartmentID" , "String"},
[Attrib(zz)]
{"Department" , "String"}
};
불가능하거나 특수 구문이 필요합니까?
내가 사용하는 언어를 모르지만, 내가 아는 언어로는 불가능합니다. – Talljoe