Empty accessors do matter?
- by Petr
Hi,
I have following code that does not work due to "a" being a value typed. But I thought it would not work even without accessors, but it did:
class Program
{
a _a
{
get; //when both accessors deleted, it will work
set;
}
static void Main(string[] args)
{
Program p…