Sometimes I need to copy a folder structure from one directory to another. For example, for my...
Latest articles
Overloading in C# with Examples
In overloading, there are multiple methods with different method signatures. Below are some...
Generic Class and Generic Method in C# with Examples
In C#, we can also have generic classes and generic methods i.e., classes and methods not made for...
Use For Loop With Array in C#
For-loop. With this loop we use indexes. We have a start, and end, and increment expression. We...
Use Foreach With Array in C#
In C#, the foreach loop iterates collection types such as Array, ArrayList, List, Hashtable...
C# Program that gets last array element
In this example i’ll show you, How to get the last element from an array using C#. C# Code:...
Reverse a Given String Word by Word in C#
In this example, we’ll learn How to reverse a given string word by word instead of letters...
How to Use Group By In SQL
Group By is used to group the row having the same value like “Group by age of person”...
SQL Substring Last 3 Characters
The SUBSTRING() function in SQL is used to extracts characters from a string. Syntax :...
Substring In SQL
The SUBSTRING() function in SQL is used to extracts characters from a string. Syntax :...