Tuesday, June 13, 2017


Difference between char and vachar and nvarchar
Difference between char(50), varchar(50) and nvarchar(50)
If we have taken an integer property and bind it to a text box and types some
string in text box than what will be the value of property.
Define Singleton pattern
What is attached dependency property?
If we haev a glass of filled water how will you measure half glass
What is region in prism framework
How will you do constructor overloading while using unity container.
If we have two methods PrintEven and PrintOdd, How will you print sequenceial number
What is the role of dispatcher?
What is the difference between Dispatcher.Invoke and Dispatcher.BeginInvoke
If we call Dispatcher.Invoke with Proirity Background, is it similar to Dispatcher.BeginInvoke

Ques. How will you bind mousedown event in MVVM?
Ans. using EventToCommandBehaviour

What is the difference between Primary Key and Unique Key
What is the difference between user control and custom control
What is the difference between clustor index and non clustor index.
If you call usercontrol.Dispatcher and Application.Dispatcher than what is the difference
What are routed event?
In which tree routed event travel visual or logical
Ans Visual
Ques : How much memory a static method take
Ans :Depened upon variable declared
Can a static class contain instance constructor?
Ans No
Ques What is the use of IDisposable interface?
Ans No
If a class does not implemented with IDisposable can we still using it with using keyword?
How can we use region in prism?
How can we use single UI in multiple module?
Ques A function take two integer parameter first value is 5 and second value is 10 lacs, we need to sum all from 5 to 10 lacs.
Ans  This is an Arithmetic Progression so sum will be n/2(2a+(n-1)d)
How can you make a rounded button?
Ans Using radius property
While binding a property to any UIElement what should be the property access specifier?
Ans It should be public
Ques How can you do fire an action on two events like Enable and ReadOnly.
Ans using multi trigger

Ques.  While using command do we need to bind enable property or it is directly handled by Canexcute method.
Ans .  No need to bin Enable property. It is directly depend on CanExecute method.

Ques. Difference between heap table and clustered table in SQL Server