How to make a function in C#
public void SayHello(string name)
{
Console.WriteLine("Hello")
}
Console.WriteLine("What is your name?")
string name = Console.ReadLine() ;
SayHello(Adam)
Also in C#:
- unity fps counter
- c# make string null
- convert string to decimal c#
- winforms messagebox with button
- c# serialize
- c# loop through array
- reload scene unity
- how to set progress openedge driver name for odbc connection c#
- decimal to string whole number c#
- automapper c# initialize error
- c# resize bitmap
- c# linq to select even numbers
- c# change variable types
- c# graphics draw filled rectangle
- how to convert a number to 2 decimal places in c#
- wpf label text in center
- c# ?
- unity raycast 2d
- how to switch scenes in unity
- c# change material in code
- grab reference from method parameter c#
- unity read text file
- unity to integer
- c# empty IEnumerable