Call upon a REST API online using C#

This short tutorial will cover one of many ways to call a REST API online to do various data based operations such as GET or POST requests. Working with REST services is essential, and learning to do simple requests to retrieve all kinds of data online can give your apps and websites more richness. For…

Using the ListBox control in .Net (C#)

In this tutorial, I will demonstrate a very simple example and use of the ListBox control. What we will be doing is loading a csv file full of data (cities worldwide) and populating the ListBox with the data read in from file. Afterwards we implement a simple search that lets the user search for a…

Flood Fill algorithm (using C#.Net)

I had planned to do this tutorial/post a while ago but I kept putting it aside and did not have the time to really look into it and share this. Fortunately, today I finally got around to it, so here is flood fill. Flood fill is a method used in programs such as Microsoft Paint…

Graphs: Depth First Traversal (C#)

Continuing where we left off with Graphs, we saw that Dijkstra’s Shortest Path was an example of a breadth first search traversal. In this tutorial, we will implement a depth first traversal (also called DFS, depth first search). What is depth first searching? The whole idea of DFS algorithm is to go as far as…

Graphs and Dijkstra’s Algorithm (C#)

Graph Data structure A graph is an abstract data structure representation of connected nodes (also called vertices) by various edges (or the link/distance between nodes). Theres two kinds of graphs, directed and undirected. Directed means that each set of nodes are connected by edges, where the edges have a direction associated with them. For example,…