Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Interview Questions
What is differences between bool & boolean?
Posted By :
Posted Date :
November 30, 2009
The bool keyword is an alias of System.Boolean.
You can also find related Interview Question to
What is differences between bool & boolean?
What is the differences between delegates and interfaces?
Interfaces carry semantics, and when a programmer implements an interface, he is typically well aware of that semantics. When you try to invoke a particular method via an interface, you can be fairly certain that if you succeed, the semantics of that method is what you expect. For that reason, using interfaces is essentially doing a check for semantic correctness on some level.
Delegates, on the other hand, by only verifying the method signature, make the programmer responsible for ensuring that the semantics of the method is compatible. The semantics may cover not only the meaning of the arguments and return value (some times even the order of the arguments if they are of the same type), the ranges of the arguments, but also an invocation order when multiple methods are concerned. Hence, in a sufficiently large program there is plenty of margin to make an error when different programmers are not forced to comply with a uniform semantics (as they would be if interfaces were used).
What is Default value of Bool ?
0 is the defaault value of boolean in .NET
Differences between application and session.
The session object maintains state on a per client basis whereas the application object is on a per application basis and is consistent across all client requests.
What are the differences among batches, stored procedures, and triggers?
A batch is a group of one or more SQL statements. SQL Server compiles the statements of a batch into a single executable unit, called an execution plan. The statements in the execution plan are then executed one at a time.
stored procedure :
A stored procedure is a group of SQL statements that is compiled one time and can then be executed many times.
A trigger is a special type of stored procedure that is not called directly. Trigger is fired each time row is affected by Insert, Update or Delete command.
What are the differences between web part page gallery, site gallery,Virtual server gallery and online gallery in SharePoint?
Web Part Page Gallery in SharePoint is the default gallery provided by Microsoft that comes installed with SharePoint. Site Gallery is specific to one sharepoint website site. Virtual Server gallery is specific to that virtual server and online gallery is available for download web parts from MSDN.
Explain differences between the page execution lifecycle of an ASP.NET page and an ASP.NET AJAX page?
In an asynchronous model, all the server side events occur, as they do in a synchronous model. The Microsoft AJAX Library also raises client side events. However when the page is rendered, asynchronous postback renders only the contents of the update panel, where as in a synchronous postback, the entire page is recreated and sent back to the browser.
what are the differences between Datalist DataGrid and datarepeater ?
*Has table appearence by default
*Has no autoformat option
*has no default paging & sorting options
*can define separators between elements using template
*Has a grid appearence by default
*has a autoformat option
*has default paging and sorting
*has no separator between elements
simple,read-only output, has no built in support for selecting or editing items, has no DEFAULT APPEARENCE,
has no default paging.
What are the differences between ADO and ADO.NET?
ADO relied on a connection based model. In the connected approach, the client had to be connected with the server and remain connected till the whole procedure or transaction was completed. Time resources and bandwidth became major constraints on such architecture.
To solve this problem the latter version of ADO used RecordSet. All the contents from the data source were copied into RecordSet. This allows clients to get disconnected from the server, work on the RecordSet and copy the changes back to the data source again. This approach did not succeed much because it requires COM marshalling to transmit disconnected data, it support only those datatypes that were defined by the COM standards and hence required type conversion.
ADO.NET can be used to access data sources using new .NET data providers as well as existing OLEDB data providers using the OLEDB.NET data provider.
What is fixed-length & variable-length characters? Tell me their differences??
In Sql Server there are two types of character data types. They are
1.fixed-length (i.e char)
2.variable-length (i.e varchar)
The main differences are maximum length and in whether trailing spaces are retained
What are all the differences between http and https?
The "S" in HTTPS indicates a secure site. The server browser communication is unsecured in ordinary http where as in https, it needs to be secured in order to prevent unauthorized access.
HTTP is Hyper Text Transport Protocol and is transmitted over the wire via PORT 80(TCP) by default and it is not secured.
HTTPS (Hypertext Transfer Protocol over Secure Socket Layer, or HTTP over SSL) is a Web protocol developed by Netscape and built into its browser that encrypts and decrypts user page requests as well as the pages that are returned by the Web server.
differences between stored procedures and functions:
1) can be used with Select statement
2) Not returning output parameter but returns Table variables
3) You can join UDF
4) Cannot be used to change server configuration
5) Cannot be used with XML FOR clause
6) Cannot have transaction within function
1) have to use EXEC or EXECUTE
2) return output parameter
3) can create table but won't return Table Variables
4) you can not join SP
5) can be used to change server configuration
6) can be used with XML FOR Clause
7) can have transaction within SP
Differences between Windows And Console Application?
Differences between Truncate and Delete?
Delete Vs Truncate:
1)Delete is a DML Command
2)Delete Command delete only
Rows from the table but the Schema(structure)remains itself
3)Where clause is used to delete Command
4)It is slow When compare to Truncate
A) Truncate is a DDL Command
B)It deletes Both rows And Schema...
C)Truncate Will Execute Without using where clause
D)It executed faster than delete
Quick Links For Interview Questions Categories:
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
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
Terms of Service
Tell A Friend