C# – Introduction to Classes and Objects

One of the main concepts which we need to know for Object Oriented Programming is classes and what kind of thing it represents in real world scenarios so we can better grasp it in a way that we understand it fully. Class is a block of code that defines a data type. An object isContinueContinue reading “C# – Introduction to Classes and Objects”

C# – Manipulating Strings

We will be exploring today ‘Manipulating Strings’ in many aspects. Escape double quotes Accessing a specific character StartsWith(), EndsWith(), Contains() Check to see if a given string has a set of characters beginning , end or somewhere inside Return true/false IndexOf() Find the index for one string inside of another string Insert(), Remove() Insert: addContinueContinue reading “C# – Manipulating Strings”

C# – Creating Overloaded Methods and Optional Paramaters

By creating overloaded mehods, we are mentioning different METHOD SIGNATURE but same function. METHOD SIGNATURE… the number and type of input parameters can have different return types. Optional parameters provide default values when you define the method. So,  if you don’t supply a value, the default will be used. can be called….. or or YouContinueContinue reading “C# – Creating Overloaded Methods and Optional Paramaters”