C# Mastery Hub
Home
Challenges
Discussion
Lessons
Core Topics
C# Fundamentals
Console Applications
Classes & OOP
Windows Forms
ASP.NET Core
SQL Server
VS & SQL Connection
RDLC Reports
.NET MAUI
Getting Started
Getting Started
Website Development
SEO Guide
Security
Project Workflow
Extra Topics
Cloud & Deployment
AWS Cloud
Deployment
About
Contact
Test Your Knowledge
ConsoleApp_Lesson1 Quiz
Answer all questions to test your understanding
1
What is the entry point of a C# console application?
Main()
Start()
Run()
Execute()
2
Which command creates a new console application using .NET CLI?
dotnet new console
dotnet create console
dotnet new app
dotnet init console
3
What is the purpose of the 'using System;' statement in a C# file?
To import the System namespace
To create a new System object
To define a new class
To declare a variable
4
Which Visual Studio template is used for creating a console application?
Console App (.NET Core)
Windows Forms App
ASP.NET Core Web App
Class Library
Submit Quiz