vb.net面试
Here are 45+ frequently asked VB.Net interview questions and answers which will definitely help you out to crack one of the toughest interviews.
这里有45多个VB.Net面试常见问题和答案,这些绝对可以帮助您破解最艰难的面试之一。
1. What is .NET Framework?
1.什么是.NET Framework?
It is a platform independent and language independent developed by Microsoft. It allows you to use multiple programming languages such as VB.NET , C#, VBScript, Jscript, and managed C++ Codes on multiple platforms such as LINUX, Mac OS, Windows, UNIX. It provides the user with various libraries that helps the development of applications faster, cheaper and easier.
它是由Microsoft开发的独立于平台和语言的平台。 它允许您在LINUX,Mac OS,Windows,UNIX等多个平台上使用多种编程语言,例如VB.NET,C#,VBScript,Jscript和托管C ++代码。 它为用户提供了各种库,这些库有助于更快,更便宜和更容易地开发应用程序。
2. What is CTS?
2.什么是CTS?
CTS represents Common Type System. It is a subset of Common Language Specification. In order to keep consistency, Microsoft has specified a Common Tpe System to which every language must follow so as to keep equality and relativity within multiple languages within the same .NET program.
CTS表示通用类型系统。 它是公共语言规范的子集。 为了保持一致性,Microsoft已经指定了每种语言都必须遵循的Common Tpe System,以便在同一.NET程序中的多种语言之间保持相等性和相对性。
3. What is a Constructor in VB.NET?
3. VB.NET中的构造函数是什么?
A Constructor is a special member function or a method whose task is to initialize objects of its class. Its name is the same as its class name. It is called as constructor because it constructs the values of data members of the class. The constructor is invoked whenever an object of its associated class is created.
构造函数是一个特殊的成员函数或方法,其任务是初始化其类的对象。 它的名称与它的类名相同。 之所以称为构造函数,是因为它构造了类的数据成员的值。 每当创建其关联类的对象时,就会调用构造函数。
4. Explain Public Access Modifier in VB.NET.
4.在VB.NET中解释公共访问修饰符。
The Public keyword in the declaration statement specifies that the element can be accessed from code anywhere in the same project from other projects that reference the project and from any assembly built from the project.
声明语句中的Public关键字指定可以从同一项目中引用该项目的其他项目以及从该项目构建的任何程序集中的任意位置的代码访问元素。
Example:
例:
Public Class demoPublicClass
公共类demoPublicClass
However, a Public Class can be used only at module, interface or namespace level.
但是,公共类只能在模块,接口或名称空间级别使用。
5. Enlist Controls in Windows Forms to Select Data from a list of VB.NET.
5.在Windows窗体中注册控件以从VB.NET列表中选择数据。
The Windows Forms Controls to Select Data from a List are as follows: 1. CheckedListBox 2. ComboBox 3. DomainUpDown 4. List Box 5. List View
从列表中选择数据的Windows窗体控件如下: 1. CheckedListBox 2. ComboBox 3. DomainUpDown 4. List Box 5. List视图
6. What is the Default Size of Integer DataType in VB.NET?
6. VB.NET中Integer数据类型的默认大小是多少?
The Default Size of Integer DataType is 32 Bits in VB.NET.
在VB.NET中,整数数据类型的默认大小为32位。
7. Example of Hello World Program in VB.NET.
7. VB.NET中的Hello World程序示例。
Module HelloWorld Sub Main() Console.WriteLine(“Hello World”) End Sub End Module
模块HelloWorld Sub Main() Console.WriteLine(“ Hello World”) End Sub End模块
8. What is CLS?
8.什么是CLS?
CLS represents Common Language Specification. It is basically a subset of the entire set of features supported by the CLR.
CLS表示通用语言规范。 它基本上是CLR支持的全部功能的子集。
9. What is Object Oriented Programming Approach?
9.什么是面向对象的编程方法?
Object Oriented Programming provides a way of modularizing programs by creating partitioned memory area for functions as well as data that can be used as templates for creating copies of such modules on demand. OOP allows decomposition of a problem into a numerous entities called Objects. It then builds data and functions around these objects.
面向对

本文列举了45个VB.Net面试中常被问到的问题及答案,内容涵盖.NET Framework、CTS、VB.NET构造函数、公共访问修饰符、垃圾回收、对象、CLS、面向对象编程、框架、对象、MSIL、数据集、程序集清单、.NET编译过程、垃圾收集方法、消息框、对话框、多态、MDI表单、鼠标事件、析构函数、继承、受保护的访问修饰符、接口、数据适配器、VB与VB.NET的区别、JIT、朋友访问修饰符和VB.NET开发工具等方面,旨在帮助求职者准备VB.Net的面试。
2885

被折叠的 条评论
为什么被折叠?



