Violation of CLS rule Inherit from non CLSComplaint class

suggest change
using System;

namespace CLSDoc

    public class Animal
        public int age = 0;
    //Warning    CS3009    'Dog': base type 'Animal' is not CLS-compliant
    public class Dog : Animal


Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents