Protected Class In C#

Posted by ChloeRadshaw on Stack Overflow See other posts from Stack Overflow or by ChloeRadshaw
Published on 2010-03-14T16:59:09Z Indexed on 2010/03/14 17:05 UTC
Read the original article Hit count: 190

Filed under:

This compiles well for me - However other people on a different thread are saying that protected classes cannot be declared in c# at top level

Is that the case?

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    protected class CsvReader
    {
    }
}

© Stack Overflow or respective owner

Related posts about c#