C# Ex.01

C# Ex.01

University

20 Qs

quiz-placeholder

Similar activities

C# Cơ bản

C# Cơ bản

University

15 Qs

Data Types Java Concepts

Data Types Java Concepts

University

19 Qs

2D Array and Strings in C

2D Array and Strings in C

University

16 Qs

Arrays in Java

Arrays in Java

University

25 Qs

Technical Assessment

Technical Assessment

University

20 Qs

Java 2D Array

Java 2D Array

University

20 Qs

Java 2D Arrays

Java 2D Arrays

University

20 Qs

Java Programming

Java Programming

University

20 Qs

C# Ex.01

C# Ex.01

Assessment

Quiz

Computers

University

Medium

Created by

Titus 2343

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

First line code of a c# program is

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which among the main method declarations is/are wrong

static void Main(string[] args)

public static void Main(string[] args)

void Main(string[] args)

static void Main()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Correct way to declare the main function in c#

static void Main(string[] args)

static void main(string[] args)

Static Void Main(string[] args)

static void Main(String[] args)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When --- keyword is used the data may pass in bi-directional. When --- keyword is used the data only passed in unidirectional.

Ref, Out

out, ref

ref,out

Out, Ref

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ___ keyword is primarily used when you want to modify the original value of a variable within a method

Ref

Params

Val

Address

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

--- is used as a parameter which can take the variable number of arguments.

Param

Params

params

param

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is system in the following code

using System;

Namespace

Package

Nunit

Jar

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?