text: Program to find the area of a Square | C # program to find the area of a square ; function to find the area ; Driver code
code: using System ; class GFG { static int area_fun ( int side ) { int area = side * side ; return area ; } public static void Main ( ) { int side = 4 ; int area = area_fun ( side ) ; Console . WriteLine ( area ) ; } }