P
P
Paul2016-10-29 14:25:07
C++ / C#
Paul, 2016-10-29 14:25:07

What are the default access modifiers in C#?

For internal classes, but for methods, fields, properties and events?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2016-10-29
@PashaKrizskiy

The default namespace is all internal.
Everything in a class is private by default.
Everything in a struct is public by default.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question