Posts

Showing posts from December, 2023

C# Keywords

C# contains reserved words that have special meaning for the compiler these reserved words are called "keywords" keywords can't be used as identifier (name of variable, class, interface etc) there are 11 types of keywords. 1. Modifier Keywords  2. Access Modifier Keywords  3. Statement Keywords  4. Method Parameter Keywords  5. Namespace Keywords  6. Operator Keywords  7. Access Keywords  8. Literal Keywords  9. Type Keywords  10. Contextual Keywords  11. Query Keywords  1. Modifier Keywords : are the specific keywords that indicates which can modify types and type members. Example - Abstract, async, const, event, extern, new, override, partial, read-only, sealed, static, unsafe, virtual and volatile.  2. Access Modifier Keywords: are applied to the declaration of the class, methods, properties, fields and other member. they define the accessibility of the class and its members. there are basic four type of Access Modifier...

What is C#?

Image
C# is object-oriented programming language developed by Microsoft. C# is used with the .NET Framework for creating websites, applications and games.