Rectangular ( or Pronic ) Numbers | C # Program to find n - th rectangular number ; Returns n - th rectangular number ; Driver code
using System ; class GFG { static int findRectNum ( int n ) { return n * ( n + 1 ) ; } public static void Main ( ) { int n = 6 ; Console . Write ( findRectNum ( n ) ) ; } }