
C# Concepts and Code Quiz
Authored by Sana Rahman
Computers
12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to import namespaces and libraries in C#?
using
namespace
class
public
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to define a class in C#?
using
namespace
class
public
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to make class members accessible from outside?
public
private
static
void
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to define a method that returns nothing in C#?
void
int
string
bool
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to declare an integer variable in C#?
int
string
bool
if
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to declare a method that does not return a value in C#?
void
public
private
static
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to define a class in C#?
class
public
namespace
using
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?