Answers for "function within function C#"

C#
0

function within function C#

public static void Main(string[] arg) {
 	Console.WriteLine("hello");
  	void World() {
     	Console.WriteLine("world") 
    }
  	world();
}

/*
output:
hello
world
*/
Posted by: Guest on August-06-2020

C# Answers by Framework

Browse Popular Code Answers by Language