Public class is inaccessible due to its protection level

后端 未结 3 1280
情歌与酒
情歌与酒 2020-12-29 18:45

I have the following classes:

namespace Bla.Bla 
{
    public abstract class ClassA 
    {
        public virtual void Setup(string thing) 
        {
                


        
3条回答
  •  醉话见心
    2020-12-29 19:01

    Also if you want to do something like ClassB.Run("thing");, make sure the Method Run(); is static or you could call it like this: thing.Run("thing");.

提交回复
热议问题