C# (/si ʃɑːrp/ see sharp) is a general-purpose, multi-paradigm programming language.
C# encompasses static typing, strong typing, lexically scoped, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.
- [[.net]]
- C# documentation, Learn how to write any application using the C# programming language on the .NET platform.
- What are the best 3D C# game engines?
const
VSreadonly
const
is a compile time constant.readonly
is a runtime constant.const
can be declared inside the method,readonly
cannot.const
cannot be used with static modifiers,readonly
can.- In
const
fields, we can only assign values in declaration part. Inreadonly
fields, we can assign values in declaration and in the constructor part.
- Arrays of arrays