Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

placeholder syntax c#

string name = "mustafa";
int age = 22;
Console.WriteLine("Hi {0} you are {1} years old.", name, age);
======================OUTPUT===================================
>>  'Hi mustafa you are 22 years old.'
Comment

placeholder syntax c#


Console.WriteLine($"Hi {nameInput} you are {ageInteger} years old."); 

Comment

PREVIOUS NEXT
Code Example
Csharp :: c# sqlite query 
Csharp :: unity get all components in gameobject 
Csharp :: convert json to list object c# 
Csharp :: convert from xls to xlsx C# 
Csharp :: c# datagridview filter textbox 
Csharp :: create material unity script 
Csharp :: c# list to string join 
Csharp :: how to make font c# 
Csharp :: c# string remove special characters 
Csharp :: how to access individual characters in a string in c# 
Csharp :: c# string to variable name 
Csharp :: c# check if 2d array position exists 
Csharp :: todictionary c# 
Csharp :: c# double to string with dot 
Csharp :: how to print using C# 
Csharp :: unity mouse click position 
Csharp :: c# list remove item based on property duplicate 
Csharp :: unity object change sprite 
Csharp :: c# mathf.ceiling 
Csharp :: yanderedev 
Csharp :: if number negative c sharp 
Csharp :: unity event 
Csharp :: c# update control from another thread 
Csharp :: godot c# export variables 
Csharp :: Unity Children Destroy 
Csharp :: unity call function on animation onstateexit 
Csharp :: textbox in xamarin forms 
Csharp :: c# linq select only unique values from list 
Csharp :: unity c# audio source 
Csharp :: max value data annotation c# 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =