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



Home >> Interview Question >> C# >> Post New Question Subscribe to Interview Questions

A declaration in the form of public string this[int item] represents a
Attribute
Indexer
Property
Field

Posted By :Santosh     Posted Date :October 15, 2009    Points :10   Category :C# 
Indexer

You can also find related Interview Question to A declaration in the form of public string this[int item] represents a Attribute Indexer Property Field  below: 

What is the difference between Distinguished field and Promoted Property?

  
Promoted properties can be accessed in Orchestrations, ports, pipelines, schemas.They Use server resources.

Distingished fields are light weight and can be accessed only in Orchestrations. (More...)

Consider the following code:

public class Example extends Thread
{
public void run()
{
System.out.println ("Hello");
}

public static void main (String args[])
{
new Example();
}
}

Select the correct option regarding the preceding code ?

  
1, The code will not compile.
2, The code will compile but will not execute.
3, The code will compile, execute, and display Hello as the output.
4, The code will compile, execute, but will not display anything.

Answer : 4 (More...)

Consider the following two classes:

public class Example1
{
public static int num;
static
{
num=5;
}
}


public class Example2
{
public static void main(String[] args)
{
System.out.println(Example1.num);
}
}

Select the correct option regarding the preceding classes.?

  
1, The Example2 class will execute without any output.
2, The Example2 class will execute with the following output:5

3, The Example2 class will not compile as it does not calls the constructor of the Example 1 class.
4, The Example2 class will not execute as it does not calls the constructor of the Example 1 class.

Answer : 2 (More...)

What is the difference between Distinguished field and Promoted Property?

  
Promoted properties can be accessed in Orchestrations, ports, pipelines, schemas.They Use server resources.

Distingished fields are light weight and can be accessed only in Orchestrations. (More...)

Define field-level validation and form-level validation?

  
Field-level validation means validating each field as it receives focus. Form-level validation is the process where you validate all data on a form before form is submitted. (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