Sum of product of r and rth Binomial Coefficient ( r * nCr ) | C # Program to find sum of product of r and rth Binomial Coefficient i . e summation r * nCr ; Return summation of r * nCr ; Driver Code
using System ; class GFG { static int summation ( int n ) { return n << ( n - 1 ) ; } public static void Main ( ) { int n = 2 ; Console . WriteLine ( summation ( n ) ) ; } }