Reputation: 6040
In C#
public class cls {
public static void met() {
}
}
I want it in C++ CLI.
The method met
should not be visible to variables which are decelerated as cls
.
I should be able to :
cls::met();
I shouldn't be able to :
cls z;
z.met();
Upvotes: 0
Views: 85