I have a:
public class MyClass {
private string PrivateString;
}
and I have an interface that accepts:
object o
I have a list of MyClass that I need to push through object o, and my Google is failing me. What’s the procedure to make this work? I know this must be crazy simple, but I’ve yet to do type casting in C#.
Everything will implicitly cast to object.