ItTechGenie
ChoiceQuestions
Home
C#
Azure
.NET Core
React
Azure DevOps
Docker
Terraform
DataStorage
DataBricks
AzureServiceFabrics
Practice Questions
MCQ'S
Privacy
ItTechGenie
Home
Azure
Azure DevOps
AzureServiceFabrics
C#
DataBricks
DataStorage
Docker
.NET Core
React
Selenium
Terraform
Practice Questions
MCQ'S
Privacy
☰ ChoiceQuestions Items
Navigate here to Learn
MCQ Topics
▶
C# Basics
Inheritance
Polymorphism
Async & Await
Question 1 of 20
Which of the following is the correct syntax to declare a variable in C#?
A. int x = 10;
B. x : int = 10;
C. int = 10;
D. int: x = 10;
Next ➡