text: Maximum number of region in which N non | C # program to implement the above problem ; Function to find the maximum number of regions on a plane ; print the maximum number of regions ; Driver code
code: using System ; class GFG { static void maxRegions ( int n ) { int num ; num = n * ( n + 1 ) / 2 + 1 ; Console . WriteLine ( num ) ; } public static void Main ( String [ ] args ) { int n = 10 ; maxRegions ( n ) ; } }