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.
Directed Adjacency Matrix :
Source Code :
Output :

UnDirected Adjacency Matrix :
Source Code :
Output :
