Answers for "function in csharp"

C#
0

function in c#

//function example
using System;
					
public class Program
{
	static void function(){
		Console.WriteLine("I am a function!");
	}
	public static void Main()
	{
		function();
	}
}
Posted by: Guest on March-30-2020
0

csharp functions

public int sayHello()
{
  console.Writeline("Hello World")
  }
Posted by: Guest on September-23-2021

C# Answers by Framework

Browse Popular Code Answers by Language