C#


Category

Sajjad Arif Gul December 3, 2015
Binary Search using Recursion in C#

Binary Search using Recursion in C#

Recursive Binary Search implementations using Binary Tree in C#. This is a Divide-and-Conquer search algorithm that works on a sorted array. Demonstrate Binary search using Recursion in Binary Tree. (more…)

Sajjad Arif Gul November 27, 2015
Adjacency List Using Linked List in C#

Adjacency List Using Linked List in C#

This program will let you through the source code for how to create Adjacency List using LinkedList in C#. It Uses Node Class, Linked List Class, Graph Class. (more…)

Sajjad Arif Gul November 20, 2015
Creating Dynamic Directed and Undirected Adjacency Matrix in C#

Creating Dynamic Directed and Undirected Adjacency Matrix in C#

This program will let you through the source code for how to create dynamic Matrices using Arrays in C#. Adjacency Matrix of Any number of rows & columns can be with any weighted number can be created through this console application. (more…)

Sajjad Arif Gul November 9, 2015
Binary Tree with Linked List in C# Example

Binary Tree with Linked List in C# Example

This simple program demonstrate Binary Tree with Linked List. It uses Linked List for…

Sajjad Arif Gul November 2, 2015
Implementing Binary Tree in C# using Arrays

Implementing Binary Tree in C# using Arrays

Balanced Binary Search Trees (BST) is nothing new. A binary tree is a special kind of tree, one that limits each node to no more than two children. A simple Binary Search Tree written in C# that can be used to store and retrieve large amounts of data quickly. This tutorial gives an introduction to Binary Search Trees. (more…)

Sajjad Arif Gul October 26, 2015
Create Doubly Linked List from Scratch in C# without using Builtin class

Create Doubly Linked List from Scratch in C# without using Builtin class

I have coded doubly Linked List from scratch without using built in List Class. Doubly Linked List inserts and removes elements fast. The following code example demonstrates many features of the doubly Linked List. let's see how we go about implementing a Doubly Linked List in C#. (more…)

Sajjad Arif Gul October 16, 2015
Create Linked List from Scratch in C# without using Builtin class

Create Linked List from Scratch in C# without using Builtin class

I have code Linked List from scratch without using built in List Class. Linked-List inserts and removes elements fast. The following code example demonstrates many features of the Linked List. let's see how we go about implementing a Simple Linked List in C#. (more…)

Sajjad Arif Gul October 9, 2015
Password Manager in C# with Source Code

Password Manager in C# with Source Code

Remembering different passwords for zillions of web sites is a real problem. You can write them down on a piece of paper, but then someone locally can get hold of the paper. You can store them in a file, but if a hacker gets into your computer, they could grab that file. So this is a Password Manager that will help you remember these Password with Better Security. (more…)

Sajjad Arif Gul October 2, 2015
String Processing Algorithm in C# from Scratch with example

String Processing Algorithm in C# from Scratch with example

This Program is the implementation of Finding Length of string, Finding Substring in String,…

Sajjad Arif Gul September 24, 2015
Implement Quicksort Algorithm from Scratch in C#

Implement Quicksort Algorithm from Scratch in C#

C#. Quicksort is a very elegant general purpose sorting algorithm. Quicksort is a divide and conquer sorting algorithm. This example uses the quicksort algorithm to sort an array of string elements. this is tutorial on how to write a quick sorting Algorithm in C# Using Visual Studio. (more…)

Sajjad Arif Gul September 15, 2015
Check if Parentheses are Balance in C#

Check if Parentheses are Balance in C#

Windows form application program source code for checking balance of parentheses. Checking string has balanced parentheses. Function to match parenthesis '(' and ')' . Check Parentheses using stack. Check for balanced parentheses in an expression. (more…)

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…)