<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>DOTNET Projects and Interview Questions</title><description>This blog contaions Dotnet learning/ academic projects. Also, it contains dotnet interview questons with  answers.</description><managingEditor>noreply@blogger.com (Admin)</managingEditor><pubDate>Fri, 14 Nov 2025 22:23:25 -0800</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">32</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://dotnetprojectninterviewquestions.blogspot.com/</link><language>en-us</language><item><title>Merry Christmas and Happy New Year 2016</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2015/12/merry-christmas-and-happy-new-year-2016.html</link><category>Happy New Year 2016</category><category>Merry Christmas</category><author>noreply@blogger.com (Admin)</author><pubDate>Fri, 25 Dec 2015 09:41:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-7024528401362814021</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglqGFcT1gYCLgHuskAYgrJmaCsG1jDeBAl8pmpitqa7NcTSUiqwWxhiefSOruRvnxA9ca8OGDnjms7Vvf1PPKJDQKiStZ055SjnGKDaVPE8OikjvCLPbC5cp0jn1OZ-Ox-7eSkztxHf1wT/s1600/merry-christmas-happy-new-year-7.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="231" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglqGFcT1gYCLgHuskAYgrJmaCsG1jDeBAl8pmpitqa7NcTSUiqwWxhiefSOruRvnxA9ca8OGDnjms7Vvf1PPKJDQKiStZ055SjnGKDaVPE8OikjvCLPbC5cp0jn1OZ-Ox-7eSkztxHf1wT/s400/merry-christmas-happy-new-year-7.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Merry Christmas and Happy New Year 2016&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;/div&gt;
</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglqGFcT1gYCLgHuskAYgrJmaCsG1jDeBAl8pmpitqa7NcTSUiqwWxhiefSOruRvnxA9ca8OGDnjms7Vvf1PPKJDQKiStZ055SjnGKDaVPE8OikjvCLPbC5cp0jn1OZ-Ox-7eSkztxHf1wT/s72-c/merry-christmas-happy-new-year-7.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Good books on ADO.Net</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2014/10/good-books-on-adonet.html</link><category>ADO.Net</category><category>ASP.Net</category><category>Dotnet Books</category><category>Dotnet Interview Question</category><author>noreply@blogger.com (Admin)</author><pubDate>Sat, 11 Oct 2014 21:53:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-6048370602751740719</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
I frequently get emails asking suggestion on good books on &lt;b&gt;ADO.Net&lt;/b&gt;.&lt;br /&gt;
Here are few good books on ADO.Net for your reference.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. &lt;/b&gt;&amp;nbsp;&lt;b&gt;Microsoft ADO.NET 4 Step by Step (Step by Step (Microsoft))&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;2. Murach's ADO.NET 4 Database Programming with C# 2010&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;(Murach: Training &amp;amp; Reference)&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;3. ADO.NET 3.5 Cookbook (Cookbooks (O'Reilly))&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;4. A Programmer's Guide to ADO.NET in C sharp (Expert's Voice)&lt;/b&gt;
&lt;/div&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Difference between constructor and method in c#</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2014/04/difference-between-constructor-and.html</link><category>c sharp interview questions</category><category>c#</category><category>Constructor</category><category>Dotnet Basics</category><category>Dotnet Interview Question</category><category>Interview Questions</category><category>method</category><author>noreply@blogger.com (Admin)</author><pubDate>Sun, 6 Apr 2014 10:07:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-13157244575067359</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
This is a very basic question mainly asked in Beginner level interviews (&lt;a href="http://dotnetprojectninterviewquestions.blogspot.in/2011/07/dotnet-interview-questions-for-1-year.html"&gt;&lt;span style="color: blue;"&gt;1 to 2 years of experience&lt;/span&gt;&lt;/a&gt;).&lt;br /&gt;
The interviewer can twist the question as below as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;span style="color: purple;"&gt;Difference between method and constructor in c#&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="color: purple;"&gt;Difference between constructor and method in dotnet with example&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="color: purple;"&gt;Difference between methods and constructors in object oriented programming&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Answer:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Here are few differences between Constructor and methods&amp;nbsp;in bullet points.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Constructor:&lt;/b&gt;&lt;br /&gt;
1. Name of constructor should be same as class name&lt;br /&gt;
2. Constructor is used to initialize class members (variables). It is used to create an instance of &amp;nbsp;a class.&lt;br /&gt;
3. Returns nothing. Hence no return type.&lt;br /&gt;
4. Called implicitly at the time of object creation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Method:&lt;/b&gt;&lt;br /&gt;
1. Name is independent from class name&lt;br /&gt;
2. Method is having some functionality. It is used to perform some operations.&lt;br /&gt;
3. Must return something. If nothing to return, explicitly return type should be &lt;b&gt;&lt;span style="color: purple;"&gt;void&lt;/span&gt;&lt;/b&gt;.&lt;br /&gt;
4. Need to be called explicitly&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>What are the commonly used classes in System.Data.SqlClient?</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2013/02/what-are-commonly-used-classes-in.html</link><category>ADO.Net</category><category>Dotnet Basics</category><category>Dotnet Interview Question</category><author>noreply@blogger.com (Admin)</author><pubDate>Tue, 12 Feb 2013 18:26:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-60330290756531829</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are the commonly used classes in &lt;b&gt;&lt;a href="http://dotnetprojectninterviewquestions.blogspot.in/2013/02/what-is-namespace-for-using-sql-server.html"&gt;&lt;span style="color: blue;"&gt;System.Data.SqlClient&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SqlCommand:&lt;/b&gt;&lt;br /&gt;
Represents a Transact-SQL statement or stored procedure to execute against a SQL Server database.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SqlCommandBuilder:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Automatically generates single-table commands&lt;/b&gt; used to reconcile changes made to a DataSet with the associated SQL Server database.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SqlConnection:&lt;/b&gt;&lt;br /&gt;
Represents an open connection to a SQL Server database.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SqlDataAdapter:&lt;/b&gt;&lt;br /&gt;
Represents a set of data commands and a database connection that are used to fill the DataSet and update a SQL Server database.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SqlDataReader:&lt;/b&gt;&lt;br /&gt;
Provides a means of reading a forward-only stream of rows from a SQL Server database.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SqlTransaction:&lt;/b&gt;&lt;br /&gt;
Represents a Transact-SQL transaction to be made in a SQL Server database.&lt;br /&gt;
&lt;br /&gt;
For more ADO.Net Interview Questions, &lt;a href="http://dotnetprojectninterviewquestions.blogspot.in/search/label/ADO.Net"&gt;&lt;span style="color: blue;"&gt;click here&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style="background-color: #fbe7a9; font-family: Verdana, sans-serif; font-size: 12px; line-height: 19px; margin: 0px; padding: 0px;"&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b style="background-color: #fbe7a9; font-family: Verdana, sans-serif; font-size: 12px; line-height: 19px; margin: 0px; padding: 0px;"&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>What is the Namespace for using SQL Server database in Dotnet Application?</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2013/02/what-is-namespace-for-using-sql-server.html</link><category>ADO.Net</category><category>Dotnet Basics</category><category>Dotnet framework</category><category>Dotnet Interview Question</category><author>noreply@blogger.com (Admin)</author><pubDate>Tue, 12 Feb 2013 18:07:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-6021003884133004317</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;b&gt;System.Data.SqlClient&lt;/b&gt; namespace is the .NET Framework Data Provider for SQL Server.&lt;br /&gt;
&lt;br /&gt;
The .NET Framework Data Provider for SQL Server describes a collection of classes used to access a SQL Server database in the managed space. Using the &lt;b&gt;SqlDataAdapter&lt;/b&gt;, you can fill a memory-resident &lt;b&gt;DataSet&lt;/b&gt;, which you can use to query and update the database.
&lt;br /&gt;
&lt;br /&gt;
For the commonly used classes in&amp;nbsp;&lt;b&gt;System.Data.SqlClient, &lt;/b&gt;&lt;a href="http://dotnetprojectninterviewquestions.blogspot.in/2013/02/what-are-commonly-used-classes-in.html"&gt;&lt;span style="color: blue;"&gt;click here&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
For more ADO.Net Interview Questions,&amp;nbsp;&lt;a href="http://dotnetprojectninterviewquestions.blogspot.in/search/label/ADO.Net"&gt;&lt;span style="color: blue;"&gt;click here&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>What is QueryString? What are the advantages and disadvantages of QueryString?</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2013/02/what-is-querystring-what-are-advantages.html</link><category>ASP.Net</category><category>Interview Questions</category><category>QueryString</category><author>noreply@blogger.com (Admin)</author><pubDate>Sat, 2 Feb 2013 00:37:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-8217625381548425101</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;b&gt;QueryString&lt;/b&gt; is a property of Request object in ASP.Net that provides a mechanism to send information to the server in the form of Sting in the URL.
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example:&lt;/b&gt;
http://www.testsite.com/Webform1.aspx?fname=Alok&amp;amp;lname=Ranjan
&lt;br /&gt;
&lt;br /&gt;
In the above example, the destination webform name is Webform1.aspx and the information passed in QueryString is 
fname=Alok&amp;amp;lname=Ranjan. fname is a variable whose value is Alok, and similarly lname variable has value as Ranjan.
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Advantages of QueryString:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;It's very easy to implement&lt;/li&gt;
&lt;li&gt;Every browser works with QueryString.&lt;/li&gt;
&lt;li&gt;It doesn't require server resources. Hence, doesn't put any burden on Server.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Disadvantages of QueryString:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;There is a limitation in the length of the QueryString as URL length has a limit. If you have to send lot of information, QueryString approach doesn't work.&lt;/li&gt;
&lt;li&gt;The information passed through QueryString is publicly visible. Hence, it poses security issue. So, QueryString can't be used while sending sensitive info.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;QueryString can not be used to send &lt;b&gt;&amp;amp;&lt;/b&gt; and &lt;b&gt;space&lt;/b&gt; characters.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Leap Year Calculator and JavaScript Source Code</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2012/01/leap-year-calculator-and-javascript.html</link><category>Leap Year Calculator</category><category>Leap Year Source Code</category><author>noreply@blogger.com (Admin)</author><pubDate>Thu, 12 Jan 2012 10:05:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-7766487785965925972</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;By Definition, "A leap year is a year containing one extra day in order to keep the calendar year synchronized with the astronomical or seasonal year."&lt;br /&gt;
&lt;br /&gt;
In a Leap Year, February month has 29 days.&lt;br /&gt;
&lt;br /&gt;
If you are looking for the Algorithm or Source Code to find leap year, here it is.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Leap Year Algorithm:&lt;/h3&gt;Here is the Pseudo code to determine whether a year is a leap year or not.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;if year modulo 4 is 0&lt;br /&gt;
then&lt;br /&gt;
if year modulo 100 is 0&lt;br /&gt;
then&lt;br /&gt;
if year modulo 400 is 0&lt;br /&gt;
then&lt;br /&gt;
is_leap_year&lt;br /&gt;
else&lt;br /&gt;
not_leap_year&lt;br /&gt;
else is_leap_year&lt;br /&gt;
else not_leap_year&lt;/i&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Leap Year Calculator:&lt;/h3&gt;&lt;script type="text/javascript"&gt;
function LeapYear()
{
//document.getElementById("demo").innerHTML=Date();
x =0;
x= document.getElementById("txtin").value;

if(x=="")
{
document.getElementById("txtout").value="Year can't be blank";
}
else if(isNaN(x))
{
document.getElementById("txtout").value="Enter a valid Year";
}
else
{
if(x%4==0)
{
 if(x%100==0)
  {
    if(x%400==0)
     document.getElementById("txtout").value="Leap Year";
    else 
     document.getElementById("txtout").value="Not Leap Year"; 
  }
 else 
  document.getElementById("txtout").value="Leap Year";
}
else
  document.getElementById("txtout").value="Not Leap Year";
}
}
&lt;/script&gt;&lt;br /&gt;
Enter the year you wish to check&lt;br /&gt;
&lt;input id="txtin" type="text" /&gt;&lt;button onclick="LeapYear()" type="button"&gt;Check Leap Year&lt;/button&gt;&lt;br /&gt;
&lt;input id="txtout" size="40/" type="text" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Leap Year Calculator Source Code in JavaScript:&lt;/h3&gt;&lt;i&gt;&lt;span style="color: blue;"&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;function LeapYear()&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;{&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;x =0;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;x= document.getElementById("txtin").value;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;if(x=="")&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;{&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;document.getElementById("txtout").value="Year can't be blank";&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;else if(isNaN(x))&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;{&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;document.getElementById("txtout").value="Enter a valid Year";&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;else&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;{&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;if(x%4==0)&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;{&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;if(x%100==0)&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;{&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;if(x%400==0)&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;document.getElementById("txtout").value="Leap Year";&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;else &lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;document.getElementById("txtout").value="Not Leap Year"; &lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;else &lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;document.getElementById("txtout").value="Leap Year";&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;else&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;document.getElementById("txtout").value="Not Leap Year";&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;Enter the year you wish to check&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;&amp;lt;input id="txtin" type="text" /&amp;gt;&amp;lt;button onclick="LeapYear()" type="button"&amp;gt;Check Leap Year&amp;lt;/button&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;&amp;lt;input id="txtout" size="40/" type="text" /&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
You can use the same logic and create your own calculator in C# or VB.Net or any other Programming Language.&lt;br /&gt;
&lt;br /&gt;
Let me know if you face any difficulties in implementing your own calculator.&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to Learn Dotnet Basics?</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2011/12/how-to-learn-dotnet-basics.html</link><category>Dotnet Basics</category><category>Dotnet Books</category><category>dotnet tutorials</category><category>learn dotnet</category><category>Online tutorials</category><author>noreply@blogger.com (Admin)</author><pubDate>Mon, 26 Dec 2011 11:06:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-8926061044967252921</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;This article is intended for Students, freshers or experienced professionals who want to &lt;b&gt;learn dotnet as beginners&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Classroom training in Dotnet:&lt;/h3&gt;To get started and familiarize with &lt;b&gt;Dotnet Tools and Techniques&lt;/b&gt; , a classroom training in dotnet is very helpful. You can learn many things in a short span of time. So, enroll yourself in a good &lt;b&gt;Dotnet training programme&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Online tutorials:&lt;/h3&gt;There are many useful websites that guides you with &lt;b&gt;Dotnet step by step tutorials, examples&lt;/b&gt; etc. There are also a lot of &lt;b&gt;dotnet videos tutorials&lt;/b&gt; available in the internet.&lt;br /&gt;
&lt;br /&gt;
Here are some useful websites to get started:&lt;br /&gt;
&lt;a href="http://www.asp.net/web-forms/tutorials" target="_blank"&gt;&lt;span style="color: blue;"&gt;http://www.asp.net/web-forms/tutorials&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.asp.net/web-forms/videos" target="_blank"&gt;&lt;span style="color: blue;"&gt;http://www.asp.net/web-forms/videos&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.dotnetspider.com/tutorials" target="_blank"&gt;&lt;span style="color: blue;"&gt;http://www.dotnetspider.com/tutorials&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.w3schools.com/" target="_blank"&gt;&lt;span style="color: blue;"&gt;http://www.w3schools.com&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://asp.net-tutorials.com/" target="_blank"&gt;&lt;span style="color: blue;"&gt;http://asp.net-tutorials.com&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.csharp-station.com/Tutorial/" target="_blank"&gt;&lt;span style="color: blue;"&gt;http://www.csharp-station.com/Tutorial/&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
There are many more useful websites on Dotnet tutorials. If you come across a good website, do share in comments.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Books:&lt;/h3&gt;.Net Programming Black Book&lt;br /&gt;
Microsoft Press books&lt;br /&gt;
Wrox Publication&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Dotnet Interview Questions for 1 year experience</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2011/07/dotnet-interview-questions-for-1-year.html</link><category>1 year experience</category><category>ADO.Net</category><category>ASP.Net</category><category>c#</category><category>Dotnet framework</category><category>Dotnet Interview Question</category><category>SQL Server</category><author>noreply@blogger.com (Admin)</author><pubDate>Sun, 24 Jul 2011 01:31:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-6539546915036871505</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Here are few basic dotnet interview questions asked in interview for a 1 year experience candidate. &lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
About your project:&lt;/h3&gt;
Get maximum knowledge about your current project. You should know the architecture diagram of your project. Also, you have to explain the Dataflow. You might be asked to tell what all dotnet new features used in your project.&lt;br /&gt;
&lt;br /&gt;
Then follows technical discussion.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
Dotnet Framework Interview Questions for 1 Year Experience:&lt;/h3&gt;
1. What is CLR and it's functions?&lt;br /&gt;
2. How memory is managed in Dotnet applications?&lt;br /&gt;
Hint: Automatically by Garbage collector&lt;br /&gt;
3. What is an assembly?&lt;br /&gt;
4. What is a strong name?&lt;br /&gt;
5. What is MSIL?&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
C#  Interview Questions for 1 Year Experience:&lt;/h3&gt;
1. What are the 4 pillars of Object Oriented Programming?&lt;br /&gt;
2. What is a Class? What is an Object?&lt;br /&gt;
3. What is a partial class?&lt;br /&gt;
4. What is a sealed class?&lt;br /&gt;
5. What is constructor?&lt;br /&gt;
6. What is stringbuilder?&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;a href="http://dotnetprojectninterviewquestions.blogspot.in/search/label/ADO.Net"&gt;&lt;span style="color: blue;"&gt;ADO.Net&lt;/span&gt;&lt;/a&gt; Interview Questions for 1 Year Experience:&lt;/h3&gt;
1. What is connection string?&lt;br /&gt;
2. What is Datareader?&lt;br /&gt;
3. Difference between Dataset and datareader?&lt;br /&gt;
4. What is Ado.Net?&lt;br /&gt;
5. &lt;a href="http://dotnetprojectninterviewquestions.blogspot.in/2013/02/what-is-namespace-for-using-sql-server.html"&gt;&lt;span style="color: blue;"&gt;Namespace for using sqlserver database?&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
ASP.Net Interview Questions for 1 Year Experience:&lt;/h3&gt;
1. What is web.config file and it's use?&lt;br /&gt;
2. What is global.asax?&lt;br /&gt;
3. What is session?&lt;br /&gt;
4. Which all controls you have used in your project?&lt;br /&gt;
5. What is gridview?&lt;br /&gt;
6. What is Authentication in ASP.Net and types of authentication?&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
SQL Server Interview Questions for 1 Year Experience:&lt;/h3&gt;
1. What is Primary key, unique key and difference between them?&lt;br /&gt;
2. What is index? Types of index?&lt;br /&gt;
3. What is a stored procedure? Why it is better than inline query?&lt;br /&gt;
Hint: Stored Procedure is precompiles and has a execution plan. Hence faster execution.&lt;br /&gt;
4. You might be asked to write simple query&lt;br /&gt;
5. What is inner join&lt;br /&gt;
&lt;br /&gt;
Also, if you know any advance concepts like WCF, WPF, LINQ, MVC, JQuerymention while telling "about yourself". You will be given preference. But, make sure you know the basics or worked on them for sometime.&lt;br /&gt;
&lt;br /&gt;
Post questions you faced in interview in comments. Also post answers in comments to questions mentioned above.&lt;/div&gt;
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total></item><item><title>What is the difference between web.config and machine.config</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2011/07/what-is-difference-between-webconfig.html</link><category>ASP.Net</category><category>Interview Questions</category><category>machine.config</category><category>web.config</category><author>noreply@blogger.com (Admin)</author><pubDate>Mon, 11 Jul 2011 04:25:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-7236608935170061670</guid><description>This is a common question asked in ASP.Net interviews.&lt;br /&gt;
&lt;br /&gt;
Web.config and machine.config are two files used for managing configuration of web applications. &lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Machine.config:&lt;/h3&gt;1. The configurations mentioned in machine.config file are applicable to all the applications hosted in a machine/computer/server.&lt;br /&gt;
&lt;br /&gt;
2. The machine.config file is located in x:\&lt;windows&gt;\Microsoft.NET\Framework\&lt;version&gt;\config\machine.config&lt;br /&gt;
&lt;br /&gt;
3. There can be only one machine.config file per machine (per dotnet framework installed).&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;web.config:&lt;/h3&gt;1. web.config file contains configurations for a single application. &lt;br /&gt;
&lt;br /&gt;
2. Web.config files overrides the configurations mentioned in machine.config file.&lt;br /&gt;
&lt;br /&gt;
3. The web configuration file is located in your application's root folder&lt;br /&gt;
&lt;br /&gt;
4. There can be multiple web.config files in a single web application in different sub folders.</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Difference between a temp table and Table Variable in SQL Server</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2011/07/difference-between-temp-table-and-table.html</link><category>SQL Server</category><category>table variable</category><category>Temp table</category><author>noreply@blogger.com (Admin)</author><pubDate>Sun, 10 Jul 2011 11:56:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-8830836136592417223</guid><description>I have faced this question in almost all the interviews. &lt;b&gt;What is the difference between a Temporary table and Table Variable in SQL Server?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Here are the main differences:&lt;br /&gt;
&lt;h3&gt;1. Declaration syntax:&lt;/h3&gt;Temp Table: &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;CREATE TABLE&lt;/span&gt; #tmptbl(ID &lt;span class="Apple-style-span" style="color: blue;"&gt;INT&lt;/span&gt;, NAME &lt;span class="Apple-style-span" style="color: blue;"&gt;VARCHAR&lt;/span&gt;(20))&lt;br /&gt;
Table Variable: &amp;nbsp;&amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;DECLARE &lt;/span&gt;@tblvar &lt;span class="Apple-style-span" style="color: blue;"&gt;TABLE&lt;/span&gt;(ID &lt;span class="Apple-style-span" style="color: blue;"&gt;INT&lt;/span&gt;, NAME &lt;span class="Apple-style-span" style="color: blue;"&gt;VARCHAR&lt;/span&gt;(20))&lt;br /&gt;
&lt;h3&gt;2. Creating Index:&lt;/h3&gt;You can create Indexes (Clustered and non-clustered Indexes) in Temp Tables. This can return records faster if there are large number of records in a table.&lt;br /&gt;
&lt;br /&gt;
You cannot create indexes in Table Variables.&lt;br /&gt;
Note: You can have Primary key in table variables which will create a clustered index by default. But you cannot create any index explicitly by using &lt;b&gt;Create Index&lt;/b&gt; command.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;3. Transaction:&lt;/h3&gt;The transaction logs are not recorded for the table-variables. Hence, we cannot implement transaction mechanism in case of table variables. &lt;br /&gt;
But transaction mechanism is applicable in case of temp tables.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;CREATE TABLE&lt;/span&gt; #tmptbl (val &lt;span class="Apple-style-span" style="color: blue;"&gt;VARCHAR&lt;/span&gt;(50))&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt; DECLARE&lt;/span&gt; @tblvar &lt;span class="Apple-style-span" style="color: blue;"&gt;TABLE&lt;/span&gt;(val &lt;span class="Apple-style-span" style="color: blue;"&gt;VARCHAR&lt;/span&gt;(50))&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt; INSERT INTO&lt;/span&gt; #tmptbl &lt;span class="Apple-style-span" style="color: blue;"&gt;VALUES &lt;/span&gt;('Old value in temp table')&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt; INSERT INTO&lt;/span&gt; @tblvar &lt;span class="Apple-style-span" style="color: blue;"&gt;VALUES &lt;/span&gt;('Old value in table variable')&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt; BEGIN TRAN&lt;br /&gt;
UPDATE&lt;/span&gt; #tmptbl &lt;span class="Apple-style-span" style="color: blue;"&gt;SET&lt;/span&gt; val='New value in temp table'&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt; UPDATE&lt;/span&gt; @tblvar &lt;span class="Apple-style-span" style="color: blue;"&gt;SET &lt;/span&gt;val='New value in table variable'&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt; SELECT &lt;/span&gt;* &lt;span class="Apple-style-span" style="color: blue;"&gt;FROM &lt;/span&gt;#tmptbl&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt; SELECT &lt;/span&gt;* &lt;span class="Apple-style-span" style="color: blue;"&gt;FROM&lt;/span&gt; @tblvar&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt; ROLLBACK&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt; SELECT &lt;/span&gt;* &lt;span class="Apple-style-span" style="color: blue;"&gt;FROM &lt;/span&gt;#tmptbl&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt; SELECT &lt;/span&gt;* &lt;span class="Apple-style-span" style="color: blue;"&gt;FROM&lt;/span&gt; @tblvar&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;br /&gt;
The output will be as below:&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;New value in temp table&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;New value in table variable&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Old value in temp table&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;New value in table variable&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
Notice that the Update command against the table variable is not getting rolled back.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;4. Stored Procedure Recompilation:&lt;/h3&gt;A procedure with a temporary table &lt;b&gt;cannot &lt;/b&gt;be pre-compiled. But a procedure with table-variables can be compiled in advance. A Pre-compiled Stored Procedure runs faster.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;5. Performance:&lt;/h3&gt;For small to medium volumes of data and simple usage scenarios you should use table variables. For large set of data, you should go for Temp tables (with proper Indexes).&lt;br /&gt;
&lt;br /&gt;
If you have any more differences, please share in comments.</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Find the Bugs in this C Sharp Dotnet Code</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2011/06/find-bugs-in-this-c-sharp-dotnet-code.html</link><category>bugs</category><category>C sharp code</category><category>c sharp interview questions</category><author>noreply@blogger.com (Admin)</author><pubDate>Sun, 26 Jun 2011 09:44:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-4003700366813122227</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Here is another simple C Sharp dotnet interview question. &lt;br /&gt;
&lt;br /&gt;
There is a piece of code in C# Dotnet as written below. The function takes a number array as input and returns the largest number. It has few bugs in it. Find out the bugs and fix them.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Code :&lt;/h3&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static int Largest(int[] list)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int max = int.MaxValue;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; list.Length - 1; i++)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (list[i] &amp;gt; max)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max = list[i];&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return max;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
You can post the answers as comments. Thank you.&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total></item><item><title>String Reverse with X in between each character in C Sharp Dotnet</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2011/06/string-reverse-with-x-in-between-each.html</link><category>C sharp code</category><category>String Reverse</category><category>xreverse</category><author>noreply@blogger.com (Admin)</author><pubDate>Sun, 26 Jun 2011 09:36:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-8995411575967336231</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Here is a C# Interview question I faced in an interview. This is very easy. But, I am sharing just to make all of you aware of this type of questions being asked in interviews.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Question:&lt;/h3&gt;Write a function named &lt;b&gt;XReverse &lt;/b&gt;in C# that will take a &lt;b&gt;string as input&lt;/b&gt; and return the &lt;b&gt;reverse of the string with 'X' in between each characters&lt;/b&gt; as Output.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Solution Code:&lt;/h3&gt;&lt;br /&gt;
public static string xReverse(string inputStr)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int len = inputStr.Length;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StringBuilder revStr = new StringBuilder();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = len - 1; i &amp;gt;= 0; i--)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; revStr.Append(inputStr[i]);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (i != 0)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; revStr.Append('X');&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return revStr.ToString();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Output:&lt;/h3&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoO96YD4GPStzZlpm_g7h8WqmNBUqJyMy8oDPM3V_NKK1gbtXuq1rmScyEWztE8N9GdJCY9Jz6vyuBN8PnTdHFnVTnkf3rQHr151NeAh-3hLe7f3ufoZecwCY09SZ4-kyzpkgoedm3e-B4/s1600/XReverse.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="164" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoO96YD4GPStzZlpm_g7h8WqmNBUqJyMy8oDPM3V_NKK1gbtXuq1rmScyEWztE8N9GdJCY9Jz6vyuBN8PnTdHFnVTnkf3rQHr151NeAh-3hLe7f3ufoZecwCY09SZ4-kyzpkgoedm3e-B4/s320/XReverse.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
If anybody has any other solution or has a better idea, please share as comments.&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoO96YD4GPStzZlpm_g7h8WqmNBUqJyMy8oDPM3V_NKK1gbtXuq1rmScyEWztE8N9GdJCY9Jz6vyuBN8PnTdHFnVTnkf3rQHr151NeAh-3hLe7f3ufoZecwCY09SZ4-kyzpkgoedm3e-B4/s72-c/XReverse.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Interview Question on Inheritance and Default Constructor</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2011/03/interview-question-on-inheritance-and.html</link><category>c#</category><category>Default Constructor</category><category>Dotnet Interview Question</category><category>Inheritance</category><category>oops</category><author>noreply@blogger.com (Admin)</author><pubDate>Wed, 30 Mar 2011 21:31:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-6522807976511581058</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Here is a question on &lt;b&gt;OOPS concepts&lt;/b&gt; like &lt;b&gt;Inheritance&lt;/b&gt; and &lt;b&gt;Default Constructor&lt;/b&gt;. The code provided is in &lt;b&gt;C#&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
There are three classes named A, B and C. &lt;br /&gt;
Class A has a default constructor that writes "In A" to console. Similarly Class B and C has default constructors that write "In B", and "In C" to Console respectively. &lt;br /&gt;
Class C inherits from Class B and Class B inherits from class A.&lt;br /&gt;
&lt;br /&gt;
[Code]&lt;br /&gt;
&lt;i&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;class A&lt;br /&gt;
{&lt;br /&gt;
public A()&lt;br /&gt;
{&lt;br /&gt;
Console.WriteLine("In A");&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class B:A&lt;br /&gt;
{&lt;br /&gt;
public B()&lt;br /&gt;
{&lt;br /&gt;
Console.WriteLine("In B");&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class C:B&lt;br /&gt;
{&lt;br /&gt;
public C()&lt;br /&gt;
{&lt;br /&gt;
Console.WriteLine("In C");&lt;br /&gt;
}&lt;br /&gt;
}&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
[/Code]&lt;br /&gt;
&lt;br /&gt;
Now, the &lt;b&gt;question&lt;/b&gt; is as below.&lt;br /&gt;
If we instanciate class C, what will be the output.&lt;br /&gt;
&lt;br /&gt;
[Code]&lt;br /&gt;
&lt;i&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;static void Main(string[] args)&lt;br /&gt;
{&lt;br /&gt;
C objC = new C();&lt;br /&gt;
Console.Read();&lt;br /&gt;
}&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
[/Code]&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Result:&lt;/b&gt;&lt;br /&gt;
The result will be:&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;In A&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;In B&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;In C&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpGjDi_RLKUwp-kMpLW8OZkgRlZYqkSfPGEHPLcNdyZ-0KUPvT8wAr8YIG_uoaXJrVIPFPEwj6k4X6mqZAKTsoZw-_OvOCRYnI2sEor5QHffZjtKhXvZs8Lzy_auGYyBvnIp1xmI7QXycl/s1600/Output.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpGjDi_RLKUwp-kMpLW8OZkgRlZYqkSfPGEHPLcNdyZ-0KUPvT8wAr8YIG_uoaXJrVIPFPEwj6k4X6mqZAKTsoZw-_OvOCRYnI2sEor5QHffZjtKhXvZs8Lzy_auGYyBvnIp1xmI7QXycl/s320/Output.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpGjDi_RLKUwp-kMpLW8OZkgRlZYqkSfPGEHPLcNdyZ-0KUPvT8wAr8YIG_uoaXJrVIPFPEwj6k4X6mqZAKTsoZw-_OvOCRYnI2sEor5QHffZjtKhXvZs8Lzy_auGYyBvnIp1xmI7QXycl/s72-c/Output.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>What are the problems/challenges you faced in your previous projects?</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2011/03/what-are-problemschallenges-you-faced.html</link><category>challenge</category><category>Project</category><author>noreply@blogger.com (Admin)</author><pubDate>Tue, 29 Mar 2011 12:35:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-6315112811405154670</guid><description>Sometimes the interviewer asks a question like:&lt;br /&gt;
&lt;b&gt;"What are the problems/challenges you faced in your previous projects?"&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To answer this question, you have to think of all projects you handled and prepare a list of challenges you faced and how you resolved them. If you don't prepare this list, it will be difficult to remember all points at the time of interview. &lt;br /&gt;
&lt;br /&gt;
I will list down few problems that I faced in my previous projects. That will help you prepare a list for yourself.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Challenge 1&lt;/h3&gt;&lt;b&gt;Challenge&lt;/b&gt;: This is the biggest challenge I faced. The Production web application connecting to the Crystal Enterprise server was always down. The client was very upset and was using the UAT web application to run Ad-hoc query in Crystal Enterprise server.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Resolution&lt;/b&gt;: After a long research on Crystal Enterprise server, IIS, Web application settings, application pools etc for about 3 months, I got the answer. &lt;br /&gt;
Another application installed in the same &lt;b&gt;application Pool&lt;/b&gt; was causing this web application down when there was any run time error in that application. I resolved the issue by separating the &lt;b&gt;Application Pools&lt;/b&gt; for each web applications.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Challenge 2&lt;/h3&gt;&lt;b&gt;Challenge&lt;/b&gt;: I was part of a Unit Testing team in a big project. We were doing Unit Testing in VSTS (Visual Studio Team System). The challenge was to achieve the &lt;b&gt;code coverage&lt;/b&gt; above 90% and to &lt;b&gt;automate &lt;/b&gt;the input data for test cases above 95%.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Resolution&lt;/b&gt;: &lt;br /&gt;
&lt;b&gt;Code coverage&lt;/b&gt; - To achieve code coverage above 90% is very difficult task as it is very difficult to write test cases to prodecue all type of exceptions and reach all the catch block code. We put all our innovations to produce maximum type of exceptions and managed to keep code cpoverage above 90%.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Automating Test Data&lt;/b&gt; - We faced difficulty in automating test data for many scenarios. We put lots of innovations to automate test data above 95% level.&lt;br /&gt;
i) We used SQL query to retrieve test data dynamically and it helped automating test data for many scenarios.&lt;br /&gt;
ii) We organised the sequence of execution of few test cases and that helped for some scenarios. Example of a sequence: Create, Edit, Delete&lt;br /&gt;
&lt;br /&gt;
You can post comments about some of the challenges you faced for others to learn &amp; benefit from you.</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>C# Online Test Questions and Answers</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2011/03/c-online-test-questions-and-answers.html</link><category>C# Online Test</category><author>noreply@blogger.com (Admin)</author><pubDate>Sun, 6 Mar 2011 12:36:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-3877746777260301111</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;form name="MyForm"&gt;1. Can an Interface be instantiated directly?&lt;br /&gt;
&lt;input name="rad1" type="radio" value="Yes" /&gt; Yes&lt;br /&gt;
&lt;input name="rad1" type="radio" value="No" /&gt; No&lt;br /&gt;
&lt;input name="rad1" type="radio" value="It can be instantiated with static constructor" /&gt; It can be instantiated with static constructor&lt;br /&gt;
&lt;input name="rad1" type="radio" value="None of these" /&gt; None of these&lt;br /&gt;
&lt;input name="button1" onclick="findAns1(this.form.rad1, this.form.ans1, 2, 4)" type="button" value="Submit" /&gt; &amp;nbsp;&lt;input name="ans1" type="text" value="" /&gt; &lt;br /&gt;
&lt;br /&gt;
2. What is the Difference between Convert.ToInt32 and Int.Parse?&lt;br /&gt;
&lt;input name="rad2" type="radio" value="Both are Same" /&gt; Both are Same&lt;br /&gt;
&lt;input name="rad2" type="radio" value="Int.Parse Can't Handle Null values , It will throws ArgumentNullException Error." /&gt; Int.Parse Can't Handle Null values , It will throws ArgumentNullException Error.&lt;br /&gt;
&lt;input name="rad2" type="radio" value="Convert.ToInt32 Can't Handle Null Values ,it will throws ArgumentNullException error." /&gt; Convert.ToInt32 Can't Handle Null Values ,it will throws ArgumentNullException error.&lt;br /&gt;
&lt;input name="rad2" type="radio" value="Both can Handle Null Values" /&gt; Both can Handle Null Values&lt;br /&gt;
&lt;input name="rad2" type="radio" value="Both can't Handle Null Values" /&gt; Both can't Handle Null Values&lt;br /&gt;
&lt;input name="button2" onclick="findAns(this.form.rad2, this.form.ans2, 2)" type="button" value="Submit" /&gt; &amp;nbsp;&lt;input name="ans2" type="text" value="" /&gt; &lt;br /&gt;
&lt;br /&gt;
3. C# doesnot support:&lt;br /&gt;
&lt;input name="rad3" type="radio" value="inheritance" /&gt; inheritance&lt;br /&gt;
&lt;input name="rad3" type="radio" value="polymorphism" /&gt; polymorphism&lt;br /&gt;
&lt;input name="rad3" type="radio" value="abstraction" /&gt; abstraction&lt;br /&gt;
&lt;input name="rad3" type="radio" value="multiple inheritance" /&gt; multiple inheritance&lt;br /&gt;
&lt;input name="rad3" type="radio" value="C# supports all" /&gt; C# supports all&lt;br /&gt;
&lt;input name="button3" onclick="findAns(this.form.rad3, this.form.ans3, 4)" type="button" value="Submit" /&gt; &amp;nbsp;&lt;input name="ans3" type="text" value="" /&gt; &lt;br /&gt;
&lt;br /&gt;
4. Whice is true about Interface and abstract methods?&lt;br /&gt;
&lt;input name="rad4" type="radio" value="We can write only one abstract method inside interface." /&gt; We can write only one abstract method inside interface.&lt;br /&gt;
&lt;input name="rad4" type="radio" value="No method is abstract inside interface" /&gt; No method is abstract inside interface&lt;br /&gt;
&lt;input name="rad4" type="radio" value="All the methods inside Interface in an abstract method." /&gt; All the methods inside Interface in an abstract method.&lt;br /&gt;
&lt;input name="rad4" type="radio" value="None of the above" /&gt; None of the above&lt;br /&gt;
&lt;input name="button4" onclick="findAns1(this.form.rad4, this.form.ans4, 3, 4)" type="button" value="Submit" /&gt; &amp;nbsp;&lt;input name="ans4" type="text" value="" /&gt; &lt;br /&gt;
&lt;br /&gt;
5. Which keyword is used to achieve shadowing in C#?&lt;br /&gt;
&lt;input name="rad5" type="radio" value="Abstract" /&gt; Abstract&lt;br /&gt;
&lt;input name="rad5" type="radio" value="Sealed" /&gt; Sealed&lt;br /&gt;
&lt;input name="rad5" type="radio" value="New" /&gt; New&lt;br /&gt;
&lt;input name="rad5" type="radio" value="Shadow" /&gt; Shadow&lt;br /&gt;
&lt;input name="rad5" type="radio" value="None of the above" /&gt; None of the above&lt;br /&gt;
&lt;input name="button5" onclick="findAns(this.form.rad5, this.form.ans5, 3)" type="button" value="Submit" /&gt; &amp;nbsp;&lt;input name="ans5" type="text" value="" /&gt; &lt;br /&gt;
&lt;br /&gt;
6. Which of the following class cannot be inherited?&lt;br /&gt;
&lt;input name="rad6" type="radio" value="Sealed" /&gt; Sealed&lt;br /&gt;
&lt;input name="rad6" type="radio" value="Abstract" /&gt; Abstract&lt;br /&gt;
&lt;input name="rad6" type="radio" value="Both" /&gt; Both&lt;br /&gt;
&lt;input name="rad6" type="radio" value="None" /&gt; None&lt;br /&gt;
&lt;input name="button6" onclick="findAns1(this.form.rad6, this.form.ans6, 1, 4)" type="button" value="Submit" /&gt; &amp;nbsp;&lt;input name="ans6" type="text" value="" /&gt;&lt;br /&gt;
&lt;br /&gt;
7. In C#, the statement that is used to replace multiple if statements is called?&lt;br /&gt;
&lt;input name="rad7" type="radio" value="?: (ternary operator)" /&gt; ?: (ternary operator)&lt;br /&gt;
&lt;input name="rad7" type="radio" value="The switch case statement" /&gt; The switch case statement&lt;br /&gt;
&lt;input name="rad7" type="radio" value="The nestedif statement" /&gt; The nestedif statement&lt;br /&gt;
&lt;input name="rad7" type="radio" value="The #endif statement" /&gt; The #endif statement&lt;br /&gt;
&lt;input name="rad7" type="radio" value="None of these" /&gt; None of these&lt;br /&gt;
&lt;input name="button7" onclick="findAns(this.form.rad7, this.form.ans7, 2)" type="button" value="Submit" /&gt; &amp;nbsp;&lt;input name="ans7" type="text" value="" /&gt; &lt;br /&gt;
&lt;br /&gt;
8. Which of these is a valid path declaration?&lt;br /&gt;
&lt;input c:\\abc.txt";"="" name="rad8" type="radio" value="string strPath=" /&gt; string strPath="c:\\abc.txt";&lt;br /&gt;
&lt;input abc.txt";"="" c:="" name="rad8" type="radio" value="string strPath=" /&gt; string strPath="c:/abc.txt";&lt;br /&gt;
&lt;input c:\abc.txt";"="" name="rad8" type="radio" value="string strPath=@" /&gt; string strPath=@"c:\abc.txt";&lt;br /&gt;
&lt;input name="rad8" type="radio" value="All of these" /&gt; All of these&lt;br /&gt;
&lt;input name="rad8" type="radio" value="None of these" /&gt; None of these&lt;br /&gt;
&lt;input name="button8" onclick="findAns(this.form.rad8, this.form.ans8, 4)" type="button" value="Submit" /&gt; &amp;nbsp;&lt;input name="ans8" type="text" value="" /&gt; &lt;br /&gt;
&lt;br /&gt;
9. What is the difference between Convert.ToString(str) and str.ToString() method?&lt;br /&gt;
&lt;input name="rad9" type="radio" value="Convert.ToString(str) function handles NULL while str.ToString() does not. It will throw a NULL reference exception." /&gt; Convert.ToString(str) function handles NULL while str.ToString() does not. It will throw a NULL reference exception.&lt;br /&gt;
&lt;input name="rad9" type="radio" value="str.ToString() function handles NULL while Convert.ToString(str) does not. It will throw a NULL reference exception." /&gt; str.ToString() function handles NULL while Convert.ToString(str) does not. It will throw a NULL reference exception.&lt;br /&gt;
&lt;input name="rad9" type="radio" value="Both can handle NULL" /&gt; Both can handle NULL&lt;br /&gt;
&lt;input name="rad9" type="radio" value="None can Handle NULL" /&gt; None can Handle NULL&lt;br /&gt;
&lt;input name="button9" onclick="findAns1(this.form.rad9, this.form.ans9, 1, 4)" type="button" value="Submit" /&gt; &amp;nbsp;&lt;input name="ans9" type="text" value="" /&gt; &lt;br /&gt;
&lt;br /&gt;
10. Waht does a strong name contain?&lt;br /&gt;
&lt;input name="rad10" type="radio" value="assembly name" /&gt; assembly name&lt;br /&gt;
&lt;input name="rad10" type="radio" value="assembly version" /&gt; assembly version&lt;br /&gt;
&lt;input name="rad10" type="radio" value="publiuc key" /&gt; publiuc key&lt;br /&gt;
&lt;input name="rad10" type="radio" value="All the above" /&gt; All the above&lt;br /&gt;
&lt;input name="rad10" type="radio" value="None of these" /&gt; None of these&lt;br /&gt;
&lt;input name="button10" onclick="findAns(this.form.rad10, this.form.ans10, 4)" type="button" value="Submit" /&gt; &amp;nbsp;&lt;input name="ans10" type="text" value="" /&gt; &lt;/form&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">22</thr:total></item><item><title>Find number of words in a text file in C# Dotnet</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2011/01/find-number-of-words-in-text-file-in-c.html</link><category>c# dotnet code</category><category>count words in a file</category><author>noreply@blogger.com (Admin)</author><pubDate>Wed, 12 Jan 2011 11:50:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-2867579820950508074</guid><description>The below code can be used to count the number of words in a text file.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;span style="color: blue;"&gt;using System;&lt;br /&gt;
using System.IO;&lt;br /&gt;
&lt;br /&gt;
namespace ConsoleApplication1&lt;br /&gt;
{&lt;br /&gt;
class CountWords&lt;br /&gt;
{&lt;br /&gt;
public string content { get; set; }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;internal int wordsInFile(string P)&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; return File.ReadAllText(P).Split(' ').Length;&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class Program&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;static void Main(string[] args)&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;CountWords c = new CountWords();&lt;br /&gt;
&amp;nbsp;int numWords = c.wordsInFile(@"C:\test_data.txt");&lt;br /&gt;
&amp;nbsp;Console.WriteLine(numWords);&lt;br /&gt;
&amp;nbsp;Console.ReadLine();&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
}&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;a href="http://dotnetprojectninterviewquestions.blogspot.com/2009/05/3-textandspeech-project.html"&gt;Text and Speech Project in C# Dotnet&lt;/a&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Is XML case sensitive?</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2010/10/is-xml-case-sensitive.html</link><category>Dotnet Interview Question</category><category>XML</category><author>noreply@blogger.com (Admin)</author><pubDate>Thu, 7 Oct 2010 11:25:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-5271339248406215982</guid><description>Yes, XML tags are case sensitive. The tag &amp;lt;Employee&amp;gt; is different from the tag &amp;lt;employee&amp;gt;.&lt;br /&gt;&lt;br /&gt;Opening and closing tags must be written with the same case:&lt;br /&gt;&lt;br /&gt;&amp;lt;Message&amp;gt;This is incorrect&amp;lt;/message&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;message&amp;gt;This is correct&amp;lt;/message&amp;gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>What are Modal and Modeless forms in Windows Forms Application?</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2010/05/what-are-modal-and-modeless-forms-in.html</link><category>Interview Questions</category><category>Modal Form</category><category>Modeless Form</category><category>Windows Application</category><author>noreply@blogger.com (Admin)</author><pubDate>Sun, 2 May 2010 13:34:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-5004820641314815172</guid><description>&lt;h3&gt;Modal Form:&lt;/h3&gt; In a modal form Windows application, the last form opened can only be accessed. i.e. the parent form cannot be accessed as long as the child form is open.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Modeless Form:&lt;/h3&gt; In case of Modeless form, Parent window generates a child window (as in Modal forms), but the user can access either of the Parent window or Child Window.</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Drop Delete Truncate in SQL Server</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2010/03/drop-delete-truncate-in-sql-server.html</link><category>Delete</category><category>Drop</category><category>SQL Server</category><category>Truncate command in SQL</category><author>noreply@blogger.com (Admin)</author><pubDate>Tue, 16 Mar 2010 01:33:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-1192385487601355913</guid><description>&lt;B&gt;Drop, Delete, and Truncate&lt;/B&gt; commands are used on a Table in SQL Server. &lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Delete Command in SQL:&lt;/h3&gt;&lt;br /&gt;Delete Command is used to delete records from a table. &lt;br /&gt;&lt;br /&gt;Syntax: DELETE FROM Table_Name [WHERE Condition]&lt;br /&gt;&lt;br /&gt;Note that the where condition is optional and the rows are deleted based on the where condition.&lt;br /&gt;&lt;br /&gt;Ex: DELETE FROM Employee WHERE EmpID=50&lt;br /&gt;It means that the row with EmpID=50 will be only deleted.&lt;br /&gt;&lt;br /&gt;If there is no Where condition, the entire data will be deleted from that table.&lt;br /&gt;Ex: DELETE FROM Employee&lt;br /&gt;It will delete all the records from Employee table.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Truncate Command in SQL:&lt;/h3&gt;&lt;br /&gt;Truncate Command is used to delete all the records from a table and frees the space in disc.&lt;br /&gt;&lt;br /&gt;Syntax: TRUNCATE TABLE Table_Name&lt;br /&gt;&lt;br /&gt;Ex: TRUNCATE TABLE Department&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Difference between Delete and Truncate Command:&lt;/h3&gt;&lt;br /&gt;&lt;B&gt;Delete Command&lt;/B&gt; deletes records from a table based on a condition or deletes all the records if no condition is specified. But it doesn't free the space.&lt;br /&gt;&lt;B&gt;Truncate Command&lt;/B&gt; deletes all the records from a table as well as frees up the space.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Drop Command in SQL:&lt;/h3&gt;&lt;br /&gt;Drop command is used to remove an Object from a database. When Drop Table command is used, it deletes all rows from that table, then removes the table from the database and removes all references to that table.&lt;br /&gt;&lt;br /&gt;Syntax: DROP TABLE Table_Name&lt;br /&gt;Ex: DROP TABLE Department&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Difference between Drop and Truncate Command in SQL:&lt;/h3&gt;&lt;br /&gt;&lt;B&gt;Truncate Command&lt;/B&gt; removes all rows from a table, but the table structure, all relationships, constraints remain in the Database.&lt;br /&gt;But &lt;B&gt;Drop Command&lt;/B&gt; removes the entire table, all relationships associated with that table, all constraints in that table. &lt;br /&gt;We can insert new records in a truncated table. But it is not possible when a table is dropped as it doesn't exist.</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>DOTNET Project Idea for final year Engineering/ MCA students</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2009/05/dotnet-project-idea-for-final-year.html</link><category>Academic Projects</category><category>Project Idea</category><author>noreply@blogger.com (Admin)</author><pubDate>Wed, 27 May 2009 19:42:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-35496926325250509</guid><description>Here is a list of project names that will help all final year Engineering/MCA students and even those who want to create learning or academic projects. &lt;br /&gt;&lt;br /&gt;&lt;B&gt;ASP.Net Projects:&lt;/B&gt;&lt;br /&gt;&lt;br /&gt;1. Library Management System&lt;br /&gt;2. Payroll System of an organisation&lt;br /&gt;3. Timesheet Management System of an organisation&lt;br /&gt;4. Leave management system of an Organisation&lt;br /&gt;5. eCommerce application&lt;br /&gt;6. Forum application&lt;br /&gt;7. Blog site development&lt;br /&gt;8. Personal Finance management&lt;br /&gt;9. Reminder Application&lt;br /&gt;10.Air line enqiuery with reservation&lt;br /&gt;&lt;br /&gt;Please post your queries here in case you need any help for doing any of the projects.&lt;br /&gt;&lt;br /&gt;Many more to come.....</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">25</thr:total></item><item><title>4. Hidden Picture Game Project</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2009/05/hidden-picture-game-project.html</link><category>Academic Projects</category><category>Hidden Picture Game Project</category><author>noreply@blogger.com (Admin)</author><pubDate>Tue, 26 May 2009 13:44:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-6267521445923815199</guid><description>&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNAAcrWCUCepdL58MQeAXLllcZQTnuBrQRHHF5AK3AOaJxACKGoJl4JvN5lViUCGRrSaEtjsYDaCEZkNdM4_xqIPKmC_rR2uYYTmMAx8n0hTQ1_pn0i22vXfPZVsGx0CNwAPJqGMAktdRF/s1600-h/HiddenPictureGameSnap.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 306px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNAAcrWCUCepdL58MQeAXLllcZQTnuBrQRHHF5AK3AOaJxACKGoJl4JvN5lViUCGRrSaEtjsYDaCEZkNdM4_xqIPKmC_rR2uYYTmMAx8n0hTQ1_pn0i22vXfPZVsGx0CNwAPJqGMAktdRF/s320/HiddenPictureGameSnap.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5340238915432600002" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Hidden Picture Game&lt;/strong&gt; is a small &lt;B&gt;learning project in C# Dotnet&lt;/B&gt;. It is a windows application developed in C# dotnet. The code is very well organised and properly commented. It is a memory game for children. So, Learn, play and Enjoy. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;&lt;span style="font-family:arial;"&gt;Functional Features:&lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1. This Game is developed so that it can be played as a professional game&lt;/span&gt; &lt;br /&gt;&lt;span style="font-family:arial;"&gt;2. Rich user interface with proper colors&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3. The application calculates Number of clicks and Score&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;&lt;span style="font-family:arial;"&gt;Technical Features:&lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1. This application is developed using Visual Studio dotnet 3.5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2. Contains logic for calculating Number of clicks and Score&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3. Contains embedded resources(images) by which images are embedded inside the assembly. So, no need to depend upon any other external folder containing image files.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;4. Uses array of images&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;5. Extensive work on button properties&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;6. Feature to open a new form from parent form&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;7. Browse through all the controls in the windows form&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;8. Uses event handling &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;You can find more details about the project at the following link. Also, you can download the C# Dotnet source code from the same link. Have a look at it and post your comments.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.dotnetspider.com/projects/500-Hidden-Picture-Game.aspx" target=_blank&gt;&lt;strong&gt;&lt;span style="font-family:arial;color:#000099;"&gt;http://www.dotnetspider.com/projects/500-Hidden-Picture-Game.aspx&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNAAcrWCUCepdL58MQeAXLllcZQTnuBrQRHHF5AK3AOaJxACKGoJl4JvN5lViUCGRrSaEtjsYDaCEZkNdM4_xqIPKmC_rR2uYYTmMAx8n0hTQ1_pn0i22vXfPZVsGx0CNwAPJqGMAktdRF/s72-c/HiddenPictureGameSnap.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total></item><item><title>Dotnet Framework Interview Questions</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2009/05/dotnet-framework-interview-questions.html</link><category>Interview Questions</category><author>noreply@blogger.com (Admin)</author><pubDate>Fri, 15 May 2009 22:13:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-2977106216614878259</guid><description>&lt;BR&gt;This section contains &lt;B&gt;Dotnet Framework Interview Questions&lt;/B&gt; that I faced in my interviews at the time of job change. Please post your comments here. Also, post your questions to get an answer.&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;1. What is an assembly in .Net? What is manifest?&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;2. What is GAC?&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;3. If you have two versions of the same assembly in GAC and you want to use the older version, how to achieve this?&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;4. What is side-by-side execution?&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;5. What is Reflection?&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;6. What is a satellite assembly? &lt;/font&gt;&lt;br /&gt;&lt;B&gt;Hint:&lt;/B&gt; Localization&lt;br /&gt;&lt;br /&gt;&lt;B&gt; Many more to come .... &lt;/B&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total></item><item><title>C# Dotnet Interview questions</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2009/05/c-dotnet-interview-questions.html</link><category>Interview Questions</category><author>noreply@blogger.com (Admin)</author><pubDate>Fri, 15 May 2009 21:43:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-4600257510943557278</guid><description>This section contains C# Dotnet Interview Questions that I faced in my interviews at the time of job change. Please post your comments here. Also, post your questions to get an answer.&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;1. What are the features of an object oriented programming language?&lt;/font&gt;&lt;br /&gt;&lt;B&gt;Ans:&lt;/B&gt; I. Abstraction&lt;br /&gt;II. Encapsulation&lt;br /&gt;III. Polymorphism&lt;br /&gt;IV. Inheritance&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;2. What is the difference between overloading and overriding in C#?&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;3. What is the difference between Abstract class and Interface?&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;4. What is the difference between ref and out?&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;5. What is Generics in C#? List the advantages.&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;6. What is advantages of using "&lt;B&gt;using&lt;/B&gt;" block?&lt;/font&gt;&lt;br /&gt;&lt;B&gt;Ans:&lt;/B&gt; Using block is a short cut to try{} finally{} block. &lt;br /&gt;Generally used to define connections. It will dispose the connection object automatically once we come out of using block.&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;7. What is use of a static constructor?&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;8. Describe the event delegate model in C#.&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;9. What are partial classes?&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;10. what is a sealed class?&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="blue" size="3" face="Arial"&gt;11. What is the difference between Array and ArrayList? List the advantages.&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;B&gt; Many more to come .... &lt;/B&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">9</thr:total></item><item><title>3. TextAndSpeech Project</title><link>http://dotnetprojectninterviewquestions.blogspot.com/2009/05/3-textandspeech-project.html</link><category>Academic Projects</category><category>Text and speech Project</category><author>noreply@blogger.com (Admin)</author><pubDate>Fri, 15 May 2009 20:54:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5064084495381051898.post-1916138970234222872</guid><description>&lt;span style="font-family:arial;"&gt;&lt;B&gt;Text And Speech application&lt;/B&gt; is a small &lt;B&gt;learning project in C# Dotnet&lt;/B&gt;. It will help to manipulate strings such as &lt;B&gt;Case Conversion&lt;/B&gt;, i.e. converting a string from &lt;B&gt;Lower Case&lt;/B&gt; to &lt;B&gt;Upper Case&lt;/B&gt; and vice versa. Also, you can convert a string to either &lt;B&gt;Title Case&lt;/B&gt; or &lt;B&gt;Sentence Case&lt;/B&gt;. This application also will &lt;B&gt;Read&lt;/B&gt; an input string for you.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLXCmbtXUbvZn3XW8-2YOfSmBfwV5UCOsn34eSKBqkX6c6Qp8EihcyrRGztMrxc1Kl43TyNg1sk0mdy4aAm1LHw85MWxTMK_G7hX8bZIKw-92K65bcqUCu4k4Qf-yE0l1CVvxVk901mBR3/s1600-h/TextAndSpeechSnap.jpg"&gt;&lt;img style="float:center; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 232px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLXCmbtXUbvZn3XW8-2YOfSmBfwV5UCOsn34eSKBqkX6c6Qp8EihcyrRGztMrxc1Kl43TyNg1sk0mdy4aAm1LHw85MWxTMK_G7hX8bZIKw-92K65bcqUCu4k4Qf-yE0l1CVvxVk901mBR3/s320/TextAndSpeechSnap.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5336266419837978050" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;B&gt;Text And Speech Application has five basic functionalities:&lt;/B&gt;&lt;br /&gt;&lt;br /&gt;1. Convert a string to Lower Case&lt;br /&gt;2. Convert a string to Upper Case&lt;br /&gt;3. Convert a string to Title Case&lt;br /&gt;4. Convert a string to Sentence Case&lt;br /&gt;5. Read a string&lt;br /&gt;&lt;br /&gt;&lt;B&gt;Technical features of this project:&lt;/B&gt;&lt;br /&gt;&lt;br /&gt;1. It is developed using C# Dotnet&lt;br /&gt;2. Extensive &lt;B&gt;string manipulation&lt;/B&gt; demonstrated&lt;br /&gt;3. A bit of &lt;B&gt;exception handling&lt;/B&gt; shown&lt;br /&gt;4. &lt;B&gt;Input validation&lt;/B&gt; checking shown&lt;br /&gt;5. Use of an external dll file shown&lt;br /&gt;6. Speech related methods used to produce sound&lt;br /&gt;7. Proper inline comments and coding standards followed&lt;br /&gt;&lt;br /&gt;You can find more details about the project at the following link. Also, you can download the C# Dotnet source code from the same link. Have a look at it and post your comments.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetspider.com/projects/490-Text-And-Speech-Project.aspx"  target=_blank&gt;&lt;strong&gt;&lt;span style="font-family:arial;color:#000099;" target="_blank"&gt;http://www.dotnetspider.com/projects/490-Text-And-Speech-Project.aspx&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLXCmbtXUbvZn3XW8-2YOfSmBfwV5UCOsn34eSKBqkX6c6Qp8EihcyrRGztMrxc1Kl43TyNg1sk0mdy4aAm1LHw85MWxTMK_G7hX8bZIKw-92K65bcqUCu4k4Qf-yE0l1CVvxVk901mBR3/s72-c/TextAndSpeechSnap.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item></channel></rss>