using System;
namespace ConsoleApplication_C_Sharp
{
class Program
{
static void Main(string[] args)
{
float[,] arr = new float[,] { { 3, 8 }, { 4, 6 } };
/*
* a b
* arr =
* c d
*
* determinant = a*d - b*c
*
*/
float determinant = (arr[0,0] * arr[1,1]) - (arr[0,1] * arr[1,0]);
Console.WriteLine(determinant);
}
}
}
/*
run:
-14
*/