Skip to content

C# :- Syntax,Comments,Variables,Data Types,Operators,Math,Strings, If...Else,Switch,Loops,Arrays,Methods,Classes and Objects,Exceptions etc

Notifications You must be signed in to change notification settings

VijithP/CSharpExamples

Repository files navigation

C# Examples

C# is a computer programming language. C# was developed by Microsoft in 2000 to provide a modern general-purpose programming language that can be used to develop all kinds of software targeting various platforms including Windows, Web, and Mobile using just one programming language

  • Abstraction means hiding the unnecessary details from type consumers.
  • Encapsulation means that a group of related properties, methods, and other members are treated as a single unit or object.
  • Inheritance describes the ability to create new classes based on an existing class.
  • Polymorphism means that you can have multiple classes that can be used interchangeably, even though each class implements the same properties or methods in different ways.

Examples related below topics

  • Concepts of OOP’s (Encapsulation, Inheritance, Polymorphism, Abstraction)
  • Abstract
  • Interface
  • Static Class
  • Overloading & Overriding.
  • Boxing & Un-boxing.
  • Array
  • Array List
  • Hash Table.
  • Partial Class.
  • Delegates.
  • String Builder & System string.
  • Value Type & Reference Types.
  • Constructor
  • Methods.
  • Constants, Read-Only & Static.
  • Static Keyword.
  • Conditional Operator
  • Comments
  • Variable
  • Data Type
  • Conditional Operator
  • For, Foreach & while loop
  • Error handling

About

C# :- Syntax,Comments,Variables,Data Types,Operators,Math,Strings, If...Else,Switch,Loops,Arrays,Methods,Classes and Objects,Exceptions etc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages