Driver code
public static void Main ( ) { GFG obj = new GFG ( ) ; int [ , ] graph = { { 0 , 1 , 1 , 0 } , { 1 , 0 , 1 , 1 } , { 1 , 1 , 0 , 1 } , { 0 , 1 , 1 , 0 } } ; Console . WriteLine ( " Total ▁ number ▁ of ▁ " + " Triangle ▁ in ▁ Graph ▁ : ▁ " + obj . triangleInGraph ( graph ) ) ; } }