Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# void

// You use void as the return type of a method (or a local function)
// to specify that the method doesn't return a value.
class Program
{
    public void Main()
    {
      TestVoid();
    }
    public void TestVoid()
    {
        Console.WriteLine("This does not return anything.");
    }
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: how to move a gameobject to another object 
Csharp :: add object to list c# 
Csharp :: selenium open chrome c# 
Csharp :: enum element count C# 
Csharp :: convert iformfile to byte array c# 
Csharp :: how to make an object move in unity 
Csharp :: c# run loop x times 
Csharp :: how to create a file through c# script 
Csharp :: c# append text to file 
Csharp :: cannot convert from string to type T 
Csharp :: bytes to httppostedfilebase c# 
Csharp :: how to clone somthing unity 
Csharp :: list all files in directory and subdirectories c# 
Csharp :: solidity get address of contract 
Csharp :: how to set rigidbody velocity in unity 
Csharp :: c# latex 
Csharp :: c# string remove 
Csharp :: get client ip address c# 
Csharp :: c# static meaning 
Csharp :: vscode not showing errors c# 
Csharp :: C# calculate sum of digits of a number 
Csharp :: decimal c# 2 digits 
Csharp :: editorfor date format mvc 
Csharp :: unity get parent object 
Csharp :: winforms C# code cross thread operation is not valid 
Csharp :: remove all non alphabetic characters from string c# 
Csharp :: unity instantiate prefab 
Csharp :: C# add two numbers using a method 
Csharp :: xmldocument to c# object 
Csharp :: c# datagridview header color 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =