An Assemblyinfo file in a VB.NET project will have blank as file extesion.

  1. .config

  2. .vb

  3. .cs


Correct Option: B

AI Explanation

To answer this question, we need to understand the purpose of an Assemblyinfo file in a VB.NET project and the file extension it typically has.

The Assemblyinfo file is a metadata file that contains information about an assembly, such as its version number, copyright information, and other assembly attributes. This file is automatically generated when you create a new VB.NET project.

In a VB.NET project, the Assemblyinfo file has the file extension ".vb". This file contains VB.NET code that specifies the assembly attributes for the project.

Let's go through each option to understand why it is correct or incorrect:

Option A) .config - This option is incorrect because the .config file is used for configuration settings and is not specific to the Assemblyinfo file.

Option B) .vb - This option is correct because the Assemblyinfo file in a VB.NET project has the file extension ".vb". This file contains the assembly attributes in VB.NET code.

Option C) .cs - This option is incorrect because the .cs file extension is used for C# source code files, not VB.NET Assemblyinfo files.

The correct answer is Option B. The Assemblyinfo file in a VB.NET project will have the file extension ".vb" because it contains VB.NET code for assembly attributes.

Find more quizzes: