Class is inaccessible due to its protection level

后端 未结 9 1840
孤街浪徒
孤街浪徒 2020-12-07 01:00

I have three classes. all are part of the same namespace. here are the basics of the three classes.

//FBlock.cs
namespace StubGenerator.PropGenerator
{
    c         


        
9条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-07 01:33

    Try adding the below code to the class that you want to use

    [Serializable()]
    public partial class Class
    {
    

提交回复
热议问题