NEW
Font size
WorksheetsUnity & C-Sharp Quiz
Total questions: 10
Worksheet time: 5mins
What type of Variable supports desimals
float
boolean
interger
string
How do you write a Variable in C-Sharp?
var myVariable = 10
var myVariable = 10;
int myVariable = 10;
local myVariable = 10
What game engine mainly uses C-Sharp
Godot
Unreal Engine
Roblox Studio
Unity
How to write if Statements in C-Sharp?
<?php if ($a > $b) { echo "a is bigger than b"; $b = $a; } ?>
if myVariable == 10 then
if(myVarible == 10){ //code here
}
if myVariable == 10:
#code here
(super easy) which one is the C-Sharp logo?
What coding Language is This Quiz about?
C++
Python
C#
LUA
How to make a Loop in C-Sharp
<?php for ($i = 0; $i < 10; $i++) { echo $i."<br>"; } ?>
for i in range(10):
#code here
for (int i = 0; i < 10; i++)
{
//code here
}
for i in pairs(tbl) do
-- code here
end
How to make Functions in C-Sharp?
function myFunction(){
//code here
}
function myFunction()
--code here
end
void myFunction(){
//code here
}
def myFunction(): #code here
Do you like using C-Sharp?
Yes
No
What game was made with Unity?
Minecraft
Piggy
Amongus
Geometry-Dash
