看板 C_Sharp 關於我們 聯絡資訊
Hello programmers, I'm doing a project involving serializing a class that contains delegate type member. To be serilizable, the delegates must correspond to static methods. Anyone know how to check if your delegate member correspnds to a static method? Pseudo code: bool isStatic( yourDelegate member ) { if typeof( member) = static (or serializable) return truth else return false } Thanks! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 131.107.65.118
horngsh:use "Reflection" 07/07 12:10
bdvstg:感謝樓上 多學到一種東西~~ 07/07 14:51