.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> ADO.Net >> Post New Question Subscribe to Interview Questions

What does AddressOf operator do in background ?

Posted By :Shashi Ray     Posted Date :March 17, 2009    Points :10   Category :ADO.Net 
The AddressOf operator creates a delegate object to the BackgroundProcess method. A delegate within VB.NET is a type-safe, object-oriented function pointer. After the thread has been instantiated, you begin the execution of the code by calling the Start() method of the thread.

You can also find related Interview Question to What does AddressOf operator do in background ?  below: 

What does AddressOf operator do in background ?

  
The AddressOf operator creates a delegate object to the BackgroundProcess method. A
delegate within VB.NET is a type-safe, object-oriented function pointer. After the thread
has been instantiated, you begin the execution of the code by calling the Start() method
of the thread (More...)

What is addressof operator?

  
Addressof operator creates a delegate object to a method.

example:

Dim pthread1 as new thread(AddressOf thread1)

Here thread1 is a method. pthread1 is a delegate object. (More...)

What operator performs in pattern matching in SQL Server

  
LIKE operator is used in pattern matching in SQL Server (More...)

What is the use of ?? operator in C#?

  
This operator allows you to assign a value to a nullable type if the retrieved value is in fact null. (More...)

How to set a HTML document's background color in JavaScript?

  
Using document object the back ground color can be changed by JavaScript. The following example illustrates it.





. (More...)

What does TOP Operator Do?

  
The TOP operator is used to specify the number of rows to be returned by a query. The TOP operator has new addition in SQL SERVER 2008 that it accepts variables as well as literal values and can be used with INSERT, UPDATE, and DELETES statements. (More...)

How to Change the BackGround Color of a Button dynamically in WPF?

  
System.Windows.Controls.Button b = new System.Windows.Controls.Button();

b.Content = "OK";

b.Background = System.Windows.Media.Brushes.Red;
(More...)

What points to be kept in mind while using conditional operator i.e. AND, NOT & OR operator?

  
AND operator: does not hurt the performance of the database engine the reason is that it in fact reduces the result from the result set.

OR operator : When Index is used with the OR operator then all the column used/referenced by the OR operator in the where clause must include in an index or none of the indexes are used.

NOT operator: It hurts the performance of the database engine the reason is that the query optimizer which optimizes the query is not able to use index for the where clause when ever a NOT operator is used/specified in the where clause of the query (More...)

Explain Rollup Operator?

  
The Rollup Operator is an aggregate operator that delivers aggregates and super aggregates for elements within a GroupBy statement (More...)

Why don't we use new operator while initializing a string ?

  
Strings are immutable reference types. There's the ldstr IL instruction which allows pushing a new object reference to a string literal. So when you write:

string a = "abc";
The compiler tests if the "abc" literal has already been defined in the metadata and if not declare it. Then it translates this code into the following IL instruction:

ldstr "abc"
Which basically makes the a local variable point to the string literal defined in the metadata.
(More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend