What is public and private class in C#?

The type or member can be accessed by any other code in the same assembly or another assembly that references it. private. The type or member can only be accessed by code in the same class or struct.

Sizin İçin Seçtik  What are the 3 access modifiers variables and functions can be given in a class?

Leave a Reply

Your email address will not be published. Required fields are marked *