June 3, 2019

Srikaanth

Pegasystems VB.NET Interview Questions Answers

Pegasystems Most Frequently Asked Latest VB.NET Interview Questions Answers

What Is Vb.net?

Vb.net is a programming language that is available in Visual Studio. Net. It contains features of visual basic which is event based programming language and also includes object oriented concepts.
[VB.Net is a programming language which is an extension of Visual Basic to make it compliant to the Dot Net Framework. Also VB.Net is fully Object Oriented unlike Visual Basic and everything in VB.Net is an object. As it is compliant to the Dot Net Framework VB.Net can make full use of Framework Class Library provided by dot Net Framework.]

How Do You Validate Date By Using Which Validation Control?

<asp:regularexpressionvalidator id="regExpDate"
runat="server"
ValidationExpression="^\d{2}[\/-]\d{2}[\/-]\d{2,4}$"
ErrorMessage="It is not a valid date"
ControlToValidate="txtpatientvisitdate"
EnableClientScript="False"
Display="Dynamic"></asp:regularexpressionvalidator>

What Does Vs.net Contains ?

Visual Studio .Net is basically a framework which makes easy development of codes written in Various programming languages.. It contains two things
1.Framework Class Library: It contains various classes managed within various namespaces.
2.Common Language Runtime: CLR is the execution engine which helps in compiling the IL code into machine code,takes care of security issues and many other critical tasks.Web pages, windows apps, console applications, Class libraries are various options which can be created using VS.net.

Name Some Of The Features Present In Vb 2005?

Some of the features present in VB 2005 are as follows: -
*Edit and continue: It allows developers to modify and execute applications almost simultaneously.
*Namespace: - This provides access to various parts of the NET framework and it also dynamically generates classes.
*Data source binding function is very useful for client server development.

How Can We Remove Handlers At Run Time?

Remove Handler myobj.myEvent, AddressOf MyEventHandler.

Write The Role Of New Keyword?

New is used to initialize a new object. We sets a variable to any datatype with help of New keyword. The New keyword gives a value to the variable. We can also uses new keyword to initialize an object variable.
Example:- dim obj as new SqlDataAdapter.
Pegasystems Most Frequently Asked Latest VB.NET Interview Questions Answers
Pegasystems Most Frequently Asked Latest VB.NET Interview Questions Answers

What Is Branching Logic Control In Vb.net?

Function and subroutines are the . The difference in two of them is function send information back from where it is called means function can return a value but subroutines cannot do this.

What Is Datatype Conversion In Vb.net?

Convert one variable type to another one is called datatype conversion we can also called this casting in VB.NET some automatically conversion is also there.
Cbool CByte CChar Cdate CDec CDbI Cmi CLng CObj CShort CSng CStr CType Asc.

Explain About The Ruby Interface Generator?

Ruby interface generator is primarily responsible for providing the visual part of the Visual basic and this was clubbed with “EB” designed for Omega database system. VBX interface was added to this feature which had the ability to load dynamic link libraries.

Explain About The Feature Anonymous Type?

Anonymous type is a feature of VB.NET and it allows data types to be created from the code which requires it. This feature is present in VB as well as C#. They should be stored in variables declared with the keyword VAR Dynamic typing is different and shouldn’t be confused with Anonymous type.

Which Is The Tool Which Can Convert Visual Basic Old Version To .net Compatibility Version?

There is a tool available which can convert old visual basic functions into new .NET code. Artin soft Visual basic upgrade Companion is very useful in converting V13 code into NET code. This tool was developed by Artin. This tool is integrated in Visual studio.NET 2005. It handles programs such as structured handling, error handling, etc.

What Would You Do To Remove Microsoft Visual Basic Name Space?

.NET has many new features and application supportive tools. To remove Microsoft visual basic name space all you have to do is to
1) Remove the import manually every time you start the project.
2) Creating a template which does not contain Microsoft Visual Basic namespace.
3) About new features and changes names you can refer to MSDN.

Explain About The Keyword Must Inherit?

This keyword prevents a class from directly instantiated. This keyword forces users to create references to only derived classes. This keyword is present in C# as abstract and it is very useful in creating applications.

Name Some Of The Features Of C# Which Are Not Present In Vb.net?

Some of the features which are not present in VB are as follows they are: -
1) It supports unsafe code blocks for improved performance.
2) Partial interfaces and anonymous methods.
3) Multi line comments and static classes. Etc

Name A Feature Which Is Common To All .net Languages?

There is only one feature which is common to all languages and that is Garbage collection or GC. This feature is automated which relieves developers of much work. This garbage is disposed only when there is need of memory or stress for memory. GC feature halts the application for few seconds before restarting it.

Explain About .net?

.NET is a Microsoft Framework and a software component. . NET has a large library of pre-coded solutions which provided developer significant help in developing applications with solutions already present. It offers reliable security and cross platform compatibility.

Explain About Visual Basic?

Visual basic is associated with the IDE of Microsoft. It is basically useful to implement RAD of GUI Creation of Active X scripts are very easy and efficient through VB. Windows API can also be used to create application on windows desktop and its applications. This was primarily designed to create applications for windows platform.

Why Is It Not A Good Idea To Insert Code Into Initializecomponent Method When Working With Visual Studio?

The designer will likely through it away, most of the code inside lnitializeComponent is auto-generated.

How Do You Inherit From A Class In C#?

Place a colon and then the name of the base class. Notice that it’s double colon in C++.

Whats The C# Equivalent Of C++ Catch (...), Which Was A Catch-all Statement For Any Possible Exception?

A catch block that catches the exception of type System. Exception. You can also omit the parameter data type in this case and just write catch {}.

How Can You Sort The Elements Of The Array In Descending Order?

By calling Sort() and then Reverse() methods.

What Happens When You Encounter A Continue Statement Inside The For Loop?

The code for the rest of the loop is ignored, the control is transferred back to the beginning of the loop.

Can You Create Enumerated Data Types In C#?

Yes.

Whats The Difference Between Const And Readonly?

The readonly keyword is different from the const keyword. A const field can only be initialized at the declaration of the field. A readonly field can be initialized either at the declaration or in a constructor. Therefore, readonly fields can have different values depending on the constructor used. Also, while a const field is a compile-time constant, the readonly field can be used for runtirne constants as in the following example

public static readonly uint [] = (uint) DateTime,Now.Ticks;

https://mytecbooks.blogspot.com/2019/06/pegasystems-vbnet-interview-questions.html
Subscribe to get more Posts :