Solutions


Tag

Sajjad Arif Gul September 3, 2015
Implement Circular Queue in C# from scratch

Implement Circular Queue in C# from scratch

Example of Implementation of a circular queue in C#. The following example shows how to create and add values to a Queue and how to print out its values. circular queue of integers of user-specified size using a simple array. (more…)

Sajjad Arif Gul August 26, 2015
Implement Queue in C# from Scratch

Implement Queue in C# from Scratch

Queue Example in C# from scratch without using Built in class. Create design and implement Queue class. This C# tutorial uses the Queue generic collection. It provides examples for its syntax. Queue works like FIFO system. A queue is a list in which the first item added to the list will be the first one to be removed. (more…)

Sajjad Arif Gul August 14, 2015
Implement Stack in C# from Scratch

Implement Stack in C# from Scratch

This code is not using built in stack class. i code this stack class from scratch. Create design and implement Stack class. Stack is a LIFO collection. It provides a powerful and simple last-in-first-out data structure. it follows the push-pop operations in C#. (more…)

Sajjad Arif Gul August 1, 2015
Implement Merge Sort Algorithm in C#

Implement Merge Sort Algorithm in C#

Write a program in c# that shows Merge Sorting in it. In an effort to refresh my mind with the MergeSort algorithm, I wrote the code below. C# Sorting Algorithm. Recursive & Iterative. Merge sort is a sorting algorithm which is based on Divide-and-conquer paradigm. (more…)

Sajjad Arif Gul July 15, 2015
Implement Insertion Sort Algorithm in C#

Implement Insertion Sort Algorithm in C#

Write a program in c# that shows Insertion Sorting in it. I have explained here on how insertion sort algorithm works along with C# source code. Here the C# Insertion Sort implementation: This algorithm is efficient for sorting a small number of elements. No need extra space to sort the elements. C# example- This is an example C# code of the insertion sort algorithm. Learn insertion sorting process with C# code. (more…)

Sajjad Arif Gul June 23, 2015
Implement Selection Sort Algorithm in C#

Implement Selection Sort Algorithm in C#

Write a program in c# that shows Selection Sorting in it. C# example of selection sort algorithm. full coding for selection sort in c#. In this simple article you will learn how we can sort an array by using Selection sort algorithm. The Selection Sort algorithm works to minimize the amount of data sorting time. (more…)

Sajjad Arif Gul June 9, 2015
Implement Bubble Sort Algorithm in C#

Implement Bubble Sort Algorithm in C#

Write a program in c# that shows Bubble Sorting in it. In this article I am going to show sorting an array using the Bubble Sort Algorithm. how bubble sort algorithm works along with C# source code. Write a sample program that implements Bubble Sort in C#.NET (more…)

Sajjad Arif Gul May 29, 2015
Multiplication, Subtraction, Addition, Division, Transpose of Matrix in C#

Multiplication, Subtraction, Addition, Division, Transpose of Matrix in C#

Write a program in c# with a class manage matrices that performs addition, subtraction , multiplication of two matrices. multiplies a matrix with a constant and calculates transpose matrix. (more…)

Sajjad Arif Gul May 11, 2015
Convert Text into Image and Image into Text in C#

Convert Text into Image and Image into Text in C#

Today I was surfing on Facebook, suddenly I saw a post in our C# Group, a guy was asking about converting text to an image format in c#. I was free for sometime so I decided to explore this problem, after 1 hour of struggling I did this. This is the simplest code for this problem & it gives you an image from the text you have inputted. There you go !! (more…)

Sajjad Arif Gul April 28, 2015
Getting Computer Name and Computer User Name in C# Projects

Getting Computer Name and Computer User Name in C# Projects

I was working on a small project in which i was trying to get the User account name and User Computer Name on windows form so i tried some codes & in last i came up with this code. It gives System Name and System User Name. By this code you can get computer identification in your simple projects. (more…)

Sajjad Arif Gul March 21, 2015
Traversing Arrays in C#

Traversing Arrays in C#

This program consist of csharp code for searching, inserting & deleting in array. This is so far easy way of doing traversing in c#. Objective of this program is to Write a program in c# demonstrating traversing, deleting, inserting and searching. (more…)

Sajjad Arif Gul January 18, 2015
Methods/Functions Example in C#

Methods/Functions Example in C#

This is a simple example program showing use of Methods/Function in csharp. Write c# program using METHODS and making Calculator. (more…)

Sajjad Arif Gul December 23, 2014
Get All Files Name from Folder in C#

Get All Files Name from Folder in C#

This Program is the simple basic implementation of filing to get Files detail in a Folder in Csharp console application & windows form application. Give Details of the Files in Given Directory C#. (more…)

Sajjad Arif Gul November 18, 2014
Create Setup Installer for Projects in Visual Studio

Create Setup Installer for Projects in Visual Studio

This post is related to creating a installer of windows form or WPF application that you have created & now need to install it on other PCs with .NET framework. I hope you will understand it. This post can answer Solution of How to make a setup installer? how to Deploy C# application with .Net 4.0 , How to create a setup on install Shield to install two programs. How to Add .Net Framework 4.0 into setup project. How to run my project(windows forms) c# in a different computer. How can I make a program work on different computers independent of .NET Framework? C# , how to Deploy C# application on any computer? (more…)

Sajjad Arif Gul September 12, 2014
Implement Priority Queue in C# from Scratch

Implement Priority Queue in C# from Scratch

This topic took my 2 days for understanding. I searched on whole internet for this but cant find the exact code for what i was searching. I needed a queue built from scratch so when i get it i decided to put it on my website so you guys don't waste time searching for it like me. (more…)

Sajjad Arif Gul June 30, 2014
Draw Pyramid in C# in Console

Draw Pyramid in C# in Console

Write a C# Program Which Displays the Pyramid or Triangle. Source Code to Draw Pyramid / Triangle in C# Console Application. This program uses for loops to display pyramid on console. (more…)