Pertanyaan dan Jawaban Wawancara Paling Populer & Tes Online
Platform edukasi untuk persiapan wawancara, tes online, tutorial, dan latihan langsung

Bangun keterampilan dengan jalur belajar terfokus, tes simulasi, dan konten siap wawancara.

WithoutBook menghadirkan pertanyaan wawancara per subjek, tes latihan online, tutorial, dan panduan perbandingan dalam satu ruang belajar yang responsif.

Prepare Interview

Microsoft .NET Pertanyaan dan Jawaban Wawancara

Test your skills through the online practice test: Microsoft .NET Quiz Online Practice Test

Ques 31. Write code to show how a method can accept a varying number of parameters.

using System;
namespace Console1
{
class Class1
{
static void Main(string[] args)
{
ParamsMethod(1,"example");
ParamsMethod(1,2,3,4);
Console.ReadLine();
}
static void ParamsMethod(params object[] list)
{
foreach (object o in list)
{
Console.WriteLine(o.ToString());
}
}
}
}

Apakah ini membantu? Add Comment View Comments
 

Ques 32. What is an overloaded method?

An overloaded method has multiple signatures that are different.

Apakah ini membantu? Add Comment View Comments
 

Ques 33. What is recursion?

Recursion is when a method calls itself.

Apakah ini membantu? Add Comment View Comments
 

Ques 34. What is a constructor?

A constructor performs initialisation for an object (including the struct type) or class.

Apakah ini membantu? Add Comment View Comments
 

Ques 35. If I have a constructor with a parameter, do I need to explicitly create a default constructor?

Yes

Apakah ini membantu? Add Comment View Comments
 

Most helpful rated by users:

Hak Cipta © 2026, WithoutBook.