Source Codes


Category

Sajjad Arif Gul March 23, 2016
All Basic SQL Queries for Database Server & Visual Studio in C#

All Basic SQL Queries for Database Server & Visual Studio in C#

This article will help you understand the syntax for basic queries that are most used in SQL Server. In the first part we will list down important queries that you need to understand & then in second part we will see how we can use these queries in Projects in Visual Studio using C# Programming Language. (more…)

Sajjad Arif Gul March 10, 2016
How to get Device Geo-location in C#

How to get Device Geo-location in C#

How to get Device Location in C# with Longitude & Latitude in C#. This C# tutorial is about getting location of the user in C#.NET using GeoPositionStatus. (more…)

Sajjad Arif Gul February 28, 2016
How to add DLL to GAC (Global Assembly Cache) in Projects

How to add DLL to GAC (Global Assembly Cache) in Projects

This C# tutorial will let you go through the steps of adding a Class Library , DLL to your own program or add it to the Global Assembly cache in Windows Assembly folder. DLL stands for Dynamic Link Library. (more…)

Sajjad Arif Gul February 24, 2016
Custom Video Player in C#

Custom Video Player in C#

This C# Tutorial is about creating a video player without embedding the windows media player in winforms with .NET compatibility error resolved & with Codecs. You can Download it with Complete source code. (more…)

Sajjad Arif Gul February 14, 2016
Drawing Text on Windows Form Application in C#

Drawing Text on Windows Form Application in C#

This C# tutorial is about drawing text on windows form using graphics in C#.Net programming language. Easiest example with complete source code in visual studio. (more…)

Sajjad Arif Gul February 1, 2016
Convert number into text in C# Program

Convert number into text in C# Program

One of my friend asked me to make a easy tutorial program which can…

Sajjad Arif Gul January 26, 2016
How to get drive Name and Size in C# program

How to get drive Name and Size in C# program

This C# tutorial is about getting Hard Disk's File system information including Volume Name, Serial Number, Maximum hard disk Size & Flags of HDD using C#. (more…)

Sajjad Arif Gul January 11, 2016
How to reference two forms with each other in C#

How to reference two forms with each other in C#

This C# Example in Windows Form Application Program shows how to reference form2 in other form1. This C# tutorial is easy to Understand. Referencing in C# programming. How to show form1 on clicking on button on form2 using referencing. (more…)

Sajjad Arif Gul January 3, 2016
How to use Windows Registry in C#

How to use Windows Registry in C#

This article is about using Windows Registry functions in C#.Net application. Today I learned some basic functions of registry in Visual Programming Lab. In this example we will learn how to store a value in registry. This example will save the current Height & Width of windows form at Form1_FormClosing event. (more…)

Sajjad Arif Gul December 28, 2015
Exception Handling in C#

Exception Handling in C#

Error Handling has always been crucial for an application in a number of ways. It may affect the execution state of the application, or expose sensitive information to a user.If the error handling is not strong,it may aid the attacker, as the errors returned may assist them in constructing correct attack factors. (more…)

Sajjad Arif Gul December 13, 2015
How to Create & Use DLL in C# Projects

How to Create & Use DLL in C# Projects

In this week I learned how to use dll files in any program. dll stands for Dynamic Link Library. The main use of the dll files is when we need some functions of other program into our project. (more…)

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