casting to classAAdministrator23yAsked Mar 5, 2003, 3:46 AM756Does anybody know how can I cast an int to my class? public class MyClass { ... public static explicit operator MyClass(int i) { ???? } ... }
Replies
Know the answer? Post it — somebody with the same question will find it here.