Maximum number of edges in Bipartite graph | C # implementation of the approach ; Function to return the maximum number of edges possible in a Bipartite graph with N vertices ; Driver code
using System ; class GFG { static double maxEdges ( double N ) { double edges = 0 ; edges = Math . Floor ( ( N * N ) / 4 ) ; return edges ; } static public void Main ( ) { double N = 5 ; Console . WriteLine ( maxEdges ( N ) ) ; } }