<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>One stop place for c# ,.NET , SQL Server interview questions</title>
	<atom:link href="http://dotnetinterviewquestion.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnetinterviewquestion.wordpress.com</link>
	<description>Lets discuss the most asked c# ,.NET  and SQL Server interview question</description>
	<lastBuildDate>Wed, 22 May 2013 10:23:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dotnetinterviewquestion.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>One stop place for c# ,.NET , SQL Server interview questions</title>
		<link>http://dotnetinterviewquestion.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dotnetinterviewquestion.wordpress.com/osd.xml" title="One stop place for c# ,.NET , SQL Server interview questions" />
	<atom:link rel='hub' href='http://dotnetinterviewquestion.wordpress.com/?pushpress=hub'/>
		<item>
		<title>MVC interview questions with answers video: &#8211; What is Web API how to implement the same?</title>
		<link>http://dotnetinterviewquestion.wordpress.com/2013/05/21/mvc-interview-questions-with-answers-video-what-is-web-api-how-to-implement-the-same/</link>
		<comments>http://dotnetinterviewquestion.wordpress.com/2013/05/21/mvc-interview-questions-with-answers-video-what-is-web-api-how-to-implement-the-same/#comments</comments>
		<pubDate>Tue, 21 May 2013 09:05:41 +0000</pubDate>
		<dc:creator>c# and .NET Interview questions</dc:creator>
				<category><![CDATA[About MVC Web API]]></category>
		<category><![CDATA[Csharp interview questions]]></category>
		<category><![CDATA[Model view controller interview questions with answers]]></category>
		<category><![CDATA[progarmming interview questions]]></category>
		<category><![CDATA[REST Web API]]></category>
		<category><![CDATA[Web API interview questions]]></category>
		<category><![CDATA[programming interview questions]]></category>

		<guid isPermaLink="false">http://dotnetinterviewquestion.wordpress.com/?p=2546</guid>
		<description><![CDATA[WEB API has now become the talk of the town. We have seen recently in many MVC interviews people ask about this question. Below are two great ASP.NET MVC ( Model view controller ) Web API videos one which talks &#8230; <a href="http://dotnetinterviewquestion.wordpress.com/2013/05/21/mvc-interview-questions-with-answers-video-what-is-web-api-how-to-implement-the-same/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2546&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>WEB API has now become the talk of the town. We have seen recently in many MVC interviews people ask about this question. Below are two great ASP.NET MVC ( Model view controller ) Web API videos one which talks about theory and practical revolving around MVC web API.</p>
<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/cBpHqLukHp4?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span></p>
<p><span style="line-height:1.5;"><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/QAW2WCPjQio?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span></span><br />
Also read <a href="http://www.codeproject.com/Articles/556995/Model-view-controller-MVC-Interview-questions-and" target="_blank">35 important MVC (Model view controller) interview questions</a> from codeproject.com site.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetinterviewquestion.wordpress.com/2546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetinterviewquestion.wordpress.com/2546/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2546&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetinterviewquestion.wordpress.com/2013/05/21/mvc-interview-questions-with-answers-video-what-is-web-api-how-to-implement-the-same/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f3702a13fcfab9c2a6750be11b6e7087?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetinterviewquestion</media:title>
		</media:content>
	</item>
		<item>
		<title>C# and .NET interview questions with answers – What is Nuget?</title>
		<link>http://dotnetinterviewquestion.wordpress.com/2013/04/25/c-and-net-interview-questions-with-answers-what-is-nuget/</link>
		<comments>http://dotnetinterviewquestion.wordpress.com/2013/04/25/c-and-net-interview-questions-with-answers-what-is-nuget/#comments</comments>
		<pubDate>Thu, 25 Apr 2013 11:43:11 +0000</pubDate>
		<dc:creator>c# and .NET Interview questions</dc:creator>
				<category><![CDATA[.NET and C# training]]></category>
		<category><![CDATA[.Net Interview Questions]]></category>
		<category><![CDATA[.NET interview questions with answers]]></category>
		<category><![CDATA[C# interview questions]]></category>
		<category><![CDATA[Csharp interview questions]]></category>
		<category><![CDATA[progarmming interview questions]]></category>
		<category><![CDATA[What is Nuget]]></category>
		<category><![CDATA[.Net and c# training]]></category>
		<category><![CDATA[programming interview questions]]></category>

		<guid isPermaLink="false">http://dotnetinterviewquestion.wordpress.com/?p=2537</guid>
		<description><![CDATA[Many times you would like to use open sources like Nunit, Log4net, Jquery , Ninject etc  in  your project. To do the same you need to search them, download the DLL’s, check which is a proper version, add it to &#8230; <a href="http://dotnetinterviewquestion.wordpress.com/2013/04/25/c-and-net-interview-questions-with-answers-what-is-nuget/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2537&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Many times you would like to use open sources like Nunit, Log4net, Jquery , Ninject etc  in  your project. To do the same you need to search them, download the DLL’s, check which is a proper version, add it to your project etc.  Sometimes integrating these DLL’s are very complex it needs to be configured, some of the config files needs to be updated etc.</p>
<p>All the above things are now simplified using Nuget. Nuget is a nothing but it’s a visual studio extension, once this extension is installed, you just need to fire the “install” command to get the DLL’s in your project.</p>
<p>For instance if you want to include nunit in your project, you just need to type:-</p>
<div>
<p>Install-Package NUnit</p>
<p><a href="http://dotnetinterviewquestion.files.wordpress.com/2013/04/nuget.jpg"><img class="size-full wp-image-2538 alignleft" alt="Nuget" src="http://dotnetinterviewquestion.files.wordpress.com/2013/04/nuget.jpg?w=640"   /><br />
</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>You can visit our site for more such <a href="http://www.dotnetinterviewquestions.in/" target="_blank">.Net and c# interview questions</a> on <a href="http://www.dotnetinterviewquestions.in/" target="_blank">http://www.dotnetinterviewquestions.in/</a></p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetinterviewquestion.wordpress.com/2537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetinterviewquestion.wordpress.com/2537/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2537&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetinterviewquestion.wordpress.com/2013/04/25/c-and-net-interview-questions-with-answers-what-is-nuget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f3702a13fcfab9c2a6750be11b6e7087?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetinterviewquestion</media:title>
		</media:content>

		<media:content url="http://dotnetinterviewquestion.files.wordpress.com/2013/04/nuget.jpg" medium="image">
			<media:title type="html">Nuget</media:title>
		</media:content>
	</item>
		<item>
		<title>23 important SQL Server interview questions on Database concepts</title>
		<link>http://dotnetinterviewquestion.wordpress.com/2013/04/22/23-important-sql-server-interview-questions-on-database-concepts/</link>
		<comments>http://dotnetinterviewquestion.wordpress.com/2013/04/22/23-important-sql-server-interview-questions-on-database-concepts/#comments</comments>
		<pubDate>Mon, 22 Apr 2013 05:31:49 +0000</pubDate>
		<dc:creator>c# and .NET Interview questions</dc:creator>
				<category><![CDATA[.NET and C# interview questions and answers]]></category>
		<category><![CDATA[.NET and C# training]]></category>
		<category><![CDATA[.Net Interview Questions]]></category>
		<category><![CDATA[C# interview questions]]></category>
		<category><![CDATA[Csharp interview questions]]></category>
		<category><![CDATA[Interview question]]></category>
		<category><![CDATA[programming interview questions]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL server training]]></category>
		<category><![CDATA[.net and c# interview questions and answers]]></category>
		<category><![CDATA[.Net and c# training]]></category>
		<category><![CDATA[Sql Server Interview Questions]]></category>

		<guid isPermaLink="false">http://dotnetinterviewquestion.wordpress.com/?p=72</guid>
		<description><![CDATA[23 important SQL Server interview questions on Database concepts This section will cover the most asked SQL Server interview questions by the interviewer so have a look on the following and do revise it when ever you go for the &#8230; <a href="http://dotnetinterviewquestion.wordpress.com/2013/04/22/23-important-sql-server-interview-questions-on-database-concepts/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=72&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<h1>23 important<a href="http://www.questpond.com/dotnet/SQL-Server-Interview-Questions-and-Answers-on-databaseconcepts.html" target="_blank"> SQL Server interview questions</a> on Database concepts</h1>
<p>This section will cover the most asked <a href="http://www.questpond.com" target="_blank">SQL Server interview<br />
questions</a> by the interviewer so have a look on the following and do revise it when ever you go for the <a href="http://www.questpond.com" target="_blank">SQL Server interview</a></p>
<p>Normally SQL Server interview starts with&#8230;..</p>
<p><strong>What is database or database management systems (DBMS)?</strong></p>
<p><strong>What is difference between DBMS and RDBMS?</strong></p>
<p><strong>What are CODD rules?</strong></p>
<p><strong>Is access database a RDBMS?</strong></p>
<p><strong>What is the main difference between ACCESS and SQL SERVER?</strong></p>
<p><strong>What is the difference between MSDE and SQL SERVER 2000?</strong></p>
<p><strong>What is SQL SERVER Express 2005 Edition?</strong></p>
<p><strong>What is SQL Server 2000 Workload Governor?</strong></p>
<p><strong>What is the difference between SQL SERVER 2000 and 2005?</strong></p>
<p><strong>What are E-R diagrams?</strong></p>
<p><strong>How many types of relationship exist in database designing?</strong></p>
<p><strong>What is normalization?</strong></p>
<p><strong>What are different type of normalization?</strong></p>
<p><strong>What is denormalization?</strong></p>
<p><strong>Can you explain Fourth Normal Form?</strong></p>
<p><strong>Can you explain Fifth Normal Form?</strong></p>
<p><strong>What is the difference between Fourth and Fifth normal form?</strong></p>
<p><strong>Have you heard about sixth normal form?</strong></p>
<p><strong>What is Extent and Page?</strong></p>
<p><strong>What are the different sections in Page?</strong></p>
<p><strong>What are page splits?</strong></p>
<p><strong>In which files does actually SQL Server store data?</strong></p>
<p><strong>Can we have a different collation for database and table?</strong></p>
<p>So friends answering to above question on Database concepts of<br />
<a href="http://www.questpond.com/">SQL Server interview questions</a> helped me to clear in front of the interviewer.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetinterviewquestion.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetinterviewquestion.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=72&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetinterviewquestion.wordpress.com/2013/04/22/23-important-sql-server-interview-questions-on-database-concepts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f3702a13fcfab9c2a6750be11b6e7087?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetinterviewquestion</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET interview questions: What is impersonation in ASP.NET?</title>
		<link>http://dotnetinterviewquestion.wordpress.com/2013/04/20/asp-net-interview-questions-what-is-impersonation-in-asp-net/</link>
		<comments>http://dotnetinterviewquestion.wordpress.com/2013/04/20/asp-net-interview-questions-what-is-impersonation-in-asp-net/#comments</comments>
		<pubDate>Sat, 20 Apr 2013 08:39:18 +0000</pubDate>
		<dc:creator>c# and .NET Interview questions</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[.NET and C# interview questions and answers]]></category>
		<category><![CDATA[.NET and C# training]]></category>
		<category><![CDATA[Csharp interview questions]]></category>
		<category><![CDATA[impersonation]]></category>
		<category><![CDATA[programming interview questions]]></category>
		<category><![CDATA[.net and c# interview questions and answers]]></category>
		<category><![CDATA[.Net and c# training]]></category>
		<category><![CDATA[ASP.NET Interview questions]]></category>
		<category><![CDATA[ASP.NET training]]></category>

		<guid isPermaLink="false">http://dotnetinterviewquestion.wordpress.com/?p=529</guid>
		<description><![CDATA[By default, ASP.NET executes in the security context of a restricted user account on the local machine. Sometimes you need to access network resources such as a file on a shared drive, which requires additional permissions. One way to overcome &#8230; <a href="http://dotnetinterviewquestion.wordpress.com/2013/04/20/asp-net-interview-questions-what-is-impersonation-in-asp-net/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=529&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>By default, ASP.NET executes in the security context of a restricted user<br />
account on the local</p>
<p>machine. Sometimes you need to access network resources such as a file on a<br />
shared drive, which</p>
<p>requires additional permissions. One way to overcome this restriction is to use<br />
impersonation.</p>
<p>With impersonation, ASP.NET can execute the request using the identity of the<br />
client who is</p>
<p>making the request, or ASP.NET can impersonate a specific account you can<br />
specify the account</p>
<p>in web.config.</p>
<p>Also do have a look on below video what is Authentication and Authorization in<br />
asp.net.</p>
<p><a href="http://youtu.be/gG3ljmMmeM0?hd=1" target="_blank"><br />
<img alt="" src="http://dotnetinterviewquestion.files.wordpress.com/2011/06/ayth.jpg?w=645&#038;h=394" width="645" height="394" border="0" /></a></p>
<p>Please click here to see more <a href="http://questpond.over-blog.com/ext/http://www.questpond.com/" target="_blank">Asp.Net<br />
interview questions</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetinterviewquestion.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetinterviewquestion.wordpress.com/529/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=529&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetinterviewquestion.wordpress.com/2013/04/20/asp-net-interview-questions-what-is-impersonation-in-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f3702a13fcfab9c2a6750be11b6e7087?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetinterviewquestion</media:title>
		</media:content>

		<media:content url="http://dotnetinterviewquestion.files.wordpress.com/2011/06/ayth.jpg" medium="image" />
	</item>
		<item>
		<title>Algorithm interview questions and answers: &#8211; How does selection sort algorithm works?</title>
		<link>http://dotnetinterviewquestion.wordpress.com/2013/04/04/algorithm-interview-questions-and-answers-how-does-selection-sort-algorithm-works/</link>
		<comments>http://dotnetinterviewquestion.wordpress.com/2013/04/04/algorithm-interview-questions-and-answers-how-does-selection-sort-algorithm-works/#comments</comments>
		<pubDate>Thu, 04 Apr 2013 11:02:18 +0000</pubDate>
		<dc:creator>c# and .NET Interview questions</dc:creator>
				<category><![CDATA[Algorithm interview questions]]></category>
		<category><![CDATA[c# data structure interview questions]]></category>
		<category><![CDATA[Csharp interview questions]]></category>
		<category><![CDATA[Data structure interview question]]></category>
		<category><![CDATA[How does selection sort algorithm works]]></category>
		<category><![CDATA[Java algorithm interview question]]></category>
		<category><![CDATA[Java data structure interview questions]]></category>
		<category><![CDATA[programming interview questions]]></category>
		<category><![CDATA[c# algorithm interview questions]]></category>

		<guid isPermaLink="false">http://dotnetinterviewquestion.wordpress.com/?p=2117</guid>
		<description><![CDATA[Selection sort is the most simples sorting algorithm.  It finds the lowest value from the collection and moves it to the left. This is repeated until the complete collection is sorted. Below is a pictorial representation of how selection sort &#8230; <a href="http://dotnetinterviewquestion.wordpress.com/2013/04/04/algorithm-interview-questions-and-answers-how-does-selection-sort-algorithm-works/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2117&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Selection sort is the most simples sorting algorithm.  It finds the lowest value from the collection and moves it to the left. This is repeated until the complete collection is sorted.</p>
<p>Below is a pictorial representation of how selection sort works. We have simple collection down below which has 5, 7, 1, and 0 values.</p>
<p>Step 1:- Find the smallest value from the collection. In the current collection the smallest value is “0”. Move this smallest value to the left hand side.</p>
<p>Step 2 :- Iterate again to find the next smallest value. The next smallest value is “1”. Move this value to the left hand side before the first smallest value.</p>
<p>In this manner continue with all elements in a collection and your list is sorted.</p>
<p style="text-align:center;"><a href="http://dotnetinterviewquestion.files.wordpress.com/2013/04/sr.png"><img class="aligncenter  wp-image-2118" alt="sr" src="http://dotnetinterviewquestion.files.wordpress.com/2013/04/sr.png?w=390&#038;h=560" width="390" height="560" /><br />
</a></p>
<p>Below is a simple c# code for selection algorithm.</p>
<p><span style="color:#008000;">// array of integers to hold values</span></p>
<p><span style="color:#0000ff;">  private static int</span>[] a = <span style="color:#0000ff;">new int</span>[4]{2,8,0,3};</p>
<p><span style="color:#0000ff;">static void</span> Main(<span style="color:#0000ff;">string</span>[] args)</p>
<p>{</p>
<p>Sort();</p>
<p><span style="color:#0000ff;"> foreach</span> (<span style="color:#0000ff;">int</span> temp <span style="color:#0000ff;">in</span> a)</p>
<p>{</p>
<p><span style="color:#33cccc;">Console</span>.WriteLine(temp);</p>
<p>}</p>
<p><span style="color:#33cccc;">Console</span>.ReadLine();</p>
<p>}</p>
<p><span style="color:#0000ff;"> public static void</span> Sort()</p>
<p>{</p>
<p><span style="color:#0000ff;"> int</span> i, j;</p>
<p><span style="color:#0000ff;"> int</span> min, temp;</p>
<p><span style="color:#0000ff;"> for</span> (i = 0; i &lt; a.Count() &#8211; 1; i++) <span style="color:#008000;">// Loop through each element</span></p>
<p>{</p>
<p>min = i; <span style="color:#008000;">// Assume that he is the smallest</span></p>
<p><span style="color:#0000ff;"> for</span> (j = i + 1; j &lt; a.Count(); j++)<span style="color:#008000;"> // Loop through the remaining element</span></p>
<p>{</p>
<p><span style="color:#0000ff;">if</span> (a[j] &lt; a[min]) <span style="color:#008000;">// If the current value smaller than the min</span></p>
<p>{</p>
<p>min = j; // <span style="color:#008000;">Swap the values</span></p>
<p>}</p>
<p>}</p>
<p>temp = a[i]; <span style="color:#008000;">// Store the current value in temp variuable</span></p>
<p>a[i] = a[min]; <span style="color:#008000;">// Swap the minimum  value to the current position</span></p>
<p>a[min] = temp; <span style="color:#008000;">// Swap the current value to the minimum value position</span></p>
<p>}</p>
<p>}</p>
<p>Also read <a href="http://dotnetinterviewquestion.wordpress.com/category/inserted-algorithm-interview-question/" target="_blank">inserted algorithm interview questions and answers</a>  from<b> </b><a href="http://dotnetinterviewquestion.wordpress.com/category/inserted-algorithm-interview-question/" target="_blank">http://dotnetinterviewquestion.wordpress.com/category/inserted-algorithm-interview-question/</a></p>
<p>Also read <a href="http://dotnetinterviewquestion.wordpress.com/2013/03/30/net-interview-questions-and-answers-can-you-write-code-for-bubble-sort/" target="_blank">Bubble sort algorithm interview questions and answers</a> from <a href="http://dotnetinterviewquestion.wordpress.com/2013/03/30/net-interview-questions-and-answers-can-you-write-code-for-bubble-sort/" target="_blank">http://dotnetinterviewquestion.wordpress.com/2013/03/30/net-interview-questions-and-answers-can-you-write-code-for-bubble-sort/</a> <b></b></p>
<p>You can also see <a href="http://www.questpond.com/" target="_blank">c# interview questions and answers </a>from <a href="http://www.questpond.com/" target="_blank">www.questpond.com</a></p>
<p>This question is taken from the book <a href="http://dotnetinterviewquestion.wordpress.com/buy-interview-question-books-from-our-shops/" target="_blank">c# interview question book</a> written by Shivprasad koirala. You can buy the book from these shops à <a href="http://dotnetinterviewquestion.wordpress.com/buy-interview-question-books-from-our-shops/" target="_blank">http://dotnetinterviewquestion.wordpress.com/buy-interview-question-books-from-our-shops/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetinterviewquestion.wordpress.com/2117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetinterviewquestion.wordpress.com/2117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2117&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetinterviewquestion.wordpress.com/2013/04/04/algorithm-interview-questions-and-answers-how-does-selection-sort-algorithm-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f3702a13fcfab9c2a6750be11b6e7087?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetinterviewquestion</media:title>
		</media:content>

		<media:content url="http://dotnetinterviewquestion.files.wordpress.com/2013/04/sr.png?w=290" medium="image">
			<media:title type="html">sr</media:title>
		</media:content>
	</item>
		<item>
		<title>Algorithm interview questions and answers: &#8211; What is inserted sort algorithm?</title>
		<link>http://dotnetinterviewquestion.wordpress.com/2013/04/03/algorithm-interview-questions-and-answers-what-is-inserted-sort-algorithm/</link>
		<comments>http://dotnetinterviewquestion.wordpress.com/2013/04/03/algorithm-interview-questions-and-answers-what-is-inserted-sort-algorithm/#comments</comments>
		<pubDate>Wed, 03 Apr 2013 13:02:18 +0000</pubDate>
		<dc:creator>c# and .NET Interview questions</dc:creator>
				<category><![CDATA[Algorithm interview questions]]></category>
		<category><![CDATA[c# algorithm interview questions]]></category>
		<category><![CDATA[c# data structure interview questions]]></category>
		<category><![CDATA[Csharp interview questions]]></category>
		<category><![CDATA[Data structure interview question]]></category>
		<category><![CDATA[Inserted algorithm interview question]]></category>
		<category><![CDATA[Java algorithm interview question]]></category>
		<category><![CDATA[Java data structure interview questions]]></category>
		<category><![CDATA[programming interview questions]]></category>

		<guid isPermaLink="false">http://dotnetinterviewquestion.wordpress.com/?p=2105</guid>
		<description><![CDATA[In inserted sorted algorithm we compare the current element value with the previous element value. If the current value is smaller than the previous value we swap. This continues until the complete list is sorted. Let us try to understand &#8230; <a href="http://dotnetinterviewquestion.wordpress.com/2013/04/03/algorithm-interview-questions-and-answers-what-is-inserted-sort-algorithm/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2105&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In inserted sorted algorithm we compare the current element value with the previous element value. If the current value is smaller than the previous value we swap. This continues until the complete list is sorted.</p>
<p>Let us try to understand the same by using the below diagram. In the below figure you can see we have an unsorted list with values 6,1,3,2.</p>
<p>Step 1 :- So we start with the first element i.e. “6”.There is no element before 6 , so we leave it and we start from 1. We compare “6” and “1”. “1” is smaller than “6”, so we swap.</p>
<p>Step 2:- Now we move to the next element “3”. Is “3” smaller than “6”, yes. So we again swap.</p>
<p>Step 3:- Now we compare “6” with the next element “2”. “2” is smaller so we swap again. There are no more further elements which can be compared with “6”. So the “6” value iteration stops here.</p>
<p>Step 4:- Now we take the next element “1”. There is no element before “1” so we move ahead. We move to the next element “3”. Is “3” smaller than “1” , no , so things are left where they are. So the iteration for “1” is done.We then move to the next element “3”. We compare “3” with “2”. “2” is smaller than “3” so we swap. Now “3” is compared with the next element “6”. “3” is smaller than “6” so the elements are left where they are.</p>
<p>Step 5 :- Now we take the last element “2”. “2” element is larger is than “1”, so “2” and “1” stay where they are. The complete collection is now sorted.</p>
<p style="text-align:center;"><a href="http://dotnetinterviewquestion.files.wordpress.com/2013/04/algorithm.png"><img class="aligncenter  wp-image-2106" alt="algorithm" src="http://dotnetinterviewquestion.files.wordpress.com/2013/04/algorithm.png?w=468&#038;h=550" width="468" height="550" /><br />
</a></p>
<p>Below is a simple c# inserted algorithm code.</p>
<p><span style="color:#0000ff;">class</span> <span style="color:#33cccc;">Program</span></p>
<p>{</p>
<p><span style="color:#008000;"> // array of integers which holds unsorted value.</span></p>
<p><span style="color:#0000ff;">private static int</span>[] UnSortedArray = <span style="color:#0000ff;">new int</span>[4]{6,1,3,2};</p>
<p><span style="color:#008000;"> // Insertion Sort Algorithm</span></p>
<p><span style="color:#0000ff;">static void</span> Main(<span style="color:#0000ff;">string</span>[] args)</p>
<p>{</p>
<p>sortArray();</p>
<p><span style="color:#0000ff;">foreach</span> (<span style="color:#0000ff;">int</span> i <span style="color:#0000ff;">in</span> UnSortedArray)</p>
<p>{</p>
<p><span style="color:#33cccc;">Console</span>.WriteLine(i);</p>
<p>}</p>
<p><span style="color:#33cccc;"> Console</span>.ReadLine();</p>
<p>}</p>
<p><span style="color:#0000ff;">public static void</span> sortArray()</p>
<p>{</p>
<p><span style="color:#0000ff;"> int</span> MainLoop; <span style="color:#008000;">// This variable will helps us loop through all the elements</span></p>
<p><span style="color:#0000ff;">int</span> InnerLoop; <span style="color:#008000;">// This variable will help us loop through all elements for every value</span></p>
<p><span style="color:#0000ff;">int</span> CurrentValue;</p>
<p><span style="color:#0000ff;">for</span> (MainLoop = 1; MainLoop &lt; UnSortedArray.Count(); MainLoop++) <span style="color:#008000;">// loop  through all the elements in the array.</span></p>
<p>{</p>
<p>CurrentValue = UnSortedArray[MainLoop]; <span style="color:#008000;">// Take the current value</span></p>
<p>InnerLoop = MainLoop;</p>
<p><span style="color:#008000;"> // Loop through all elements for that value</span></p>
<p><span style="color:#0000ff;">while</span> ((InnerLoop &gt; 0) &amp;&amp; (UnSortedArray[InnerLoop - 1] &gt; CurrentValue))</p>
<p>{</p>
<p><span style="color:#008000;">//if the previous value is greater than currentvalue swap</span></p>
<p>UnSortedArray[InnerLoop] = UnSortedArray[InnerLoop - 1];</p>
<p>InnerLoop = InnerLoop &#8211; 1;</p>
<p>}</p>
<p><span style="color:#008000;">// If previous value is not greater then just keep the value where they are.</span></p>
<p>UnSortedArray[InnerLoop] = CurrentValue;</p>
<p>}</p>
<p>}<span style="font-size:16px;line-height:1.5;"> </span></p>
<p>You can also see <a href="http://www.questpond.com/" target="_blank">Algorithm interview questions</a> from <a href="http://www.questpond.com/" target="_blank">www.questpond.com</a></p>
<p>This question is taken from the book <a href="http://dotnetinterviewquestion.wordpress.com/buy-interview-question-books-from-our-shops/" target="_blank">.NET interview question book</a> written by Shivprasad koirala. You can buy the book from these shops à <a href="http://dotnetinterviewquestion.wordpress.com/buy-interview-question-books-from-our-shops/" target="_blank">http://dotnetinterviewquestion.wordpress.com/buy-interview-question-books-from-our-shops/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetinterviewquestion.wordpress.com/2105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetinterviewquestion.wordpress.com/2105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2105&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetinterviewquestion.wordpress.com/2013/04/03/algorithm-interview-questions-and-answers-what-is-inserted-sort-algorithm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f3702a13fcfab9c2a6750be11b6e7087?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetinterviewquestion</media:title>
		</media:content>

		<media:content url="http://dotnetinterviewquestion.files.wordpress.com/2013/04/algorithm.png?w=268" medium="image">
			<media:title type="html">algorithm</media:title>
		</media:content>
	</item>
		<item>
		<title>.NET interview questions and answers: -How can you define a property read only for external world and writable in the same assembly?</title>
		<link>http://dotnetinterviewquestion.wordpress.com/2013/04/01/net-interview-questions-and-answers-how-can-you-define-a-property-read-only-for-external-world-and-writable-in-the-same-assembly/</link>
		<comments>http://dotnetinterviewquestion.wordpress.com/2013/04/01/net-interview-questions-and-answers-how-can-you-define-a-property-read-only-for-external-world-and-writable-in-the-same-assembly/#comments</comments>
		<pubDate>Mon, 01 Apr 2013 06:31:15 +0000</pubDate>
		<dc:creator>c# and .NET Interview questions</dc:creator>
				<category><![CDATA[.NET and C# training]]></category>
		<category><![CDATA[.NET interview questions and answers]]></category>
		<category><![CDATA[Csharp interview questions]]></category>
		<category><![CDATA[define a property read only for external world]]></category>
		<category><![CDATA[programming interview questions]]></category>
		<category><![CDATA[writable in the same assembly]]></category>
		<category><![CDATA[.Net and c# training]]></category>
		<category><![CDATA[property read only for external world]]></category>

		<guid isPermaLink="false">http://dotnetinterviewquestion.wordpress.com/?p=2097</guid>
		<description><![CDATA[Let’s us first try to understand this c# / .NET interview question and answers. Let’s say if you have a class called as “Customer” with a property “CustomerCode”.Now you want that anyone can read from the “CustomerCode” property but this &#8230; <a href="http://dotnetinterviewquestion.wordpress.com/2013/04/01/net-interview-questions-and-answers-how-can-you-define-a-property-read-only-for-external-world-and-writable-in-the-same-assembly/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2097&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Let’s us first try to understand this <a href="http://www.questpond.com/" target="_blank">c# / .NET interview question and answers</a>. Let’s say if you have a class called as “Customer” with a property “CustomerCode”.Now you want that anyone can read from the “CustomerCode” property but this property can only be set from within the assembly.</p>
<p>In other words any one canrun the below code.</p>
<p><span style="color:#33cccc;">Customer</span> obj = <span style="color:#3366ff;">new</span><span style="color:#33cccc;">Customer</span>();<br />
<span style="font-size:16px;line-height:1.5;"><span style="color:#3366ff;">string</span> x = obj.CustomerCode;</span></p>
<p>But setting of the value can be only done from within assembly. The below code will run only if it’s within assembly and it will throw error if it’s external to the assembly.</p>
<p><span style="color:#33cccc;">Customer</span> obj = <span style="color:#3366ff;">new</span><span style="color:#33cccc;">Customer</span>();<br />
<span style="font-size:16px;line-height:1.5;">obj.CustomerCode = &#8220;c001&#8243;;</span></p>
<p>This can be achieved by have different access modifiers for “SET” and “GET properties on the “CustomerCode” property. In case you are new to access modifiers , see <a href="http://computerauthor.blogspot.in/2012/10/net-interview-questions-and-answers.html" target="_blank">c# interview questions :- What are the different access modifiers in c# ?</a>.</p>
<p><span style="font-size:16px;line-height:1.5;">So for the “GET” we will have public access modifiers and for “SET” we will apply internal access modifiers.  Now because “GET” is public this property can be read anywhere and because the “SET” is internal it can only be accessed from within assembly. Below goes the code for the same.</span></p>
<p><span style="color:#3366ff;">class</span><span style="color:#33cccc;">Customer<br />
</span><span style="font-size:16px;line-height:1.5;">     {<br />
</span><span style="font-size:16px;line-height:1.5;"><span style="color:#3366ff;">privatestring</span> _CustomerCode = <span style="color:#993366;">&#8220;&#8221;</span>;</span></p>
<p><span style="font-size:16px;line-height:1.5;"><span style="color:#3366ff;">publicstring</span> CustomerCode</span></p>
<p>{<br />
<span style="color:#3366ff;">get</span><span style="font-size:16px;line-height:1.5;"> { </span><span style="color:#3366ff;">return</span><span style="font-size:16px;line-height:1.5;"> _CustomerCode; }<br />
</span><span style="color:#3366ff;">internalset</span><span style="font-size:16px;line-height:1.5;"> { _CustomerCode = </span><span style="color:#3366ff;">value</span><span style="font-size:16px;line-height:1.5;">; }<br />
</span></p>
<p>}<span style="font-size:16px;line-height:1.5;"> </span></p>
<p>}</p>
<p>This question is taken from the book written by Shivprasad koirala<a href="http://www.flipkart.com/net-interview-questions-5/p/itmdyuqzdqx8cvqx" target="_blank"> .NET interview questions by BPB publications</a>.</p>
<p>You can see <a href="http://www.codeproject.com/Articles/22839/SQL-Server-Interview-Questions-Part-1" target="_blank">SQL Server interview questions and answers</a>article which is hosted on code project.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetinterviewquestion.wordpress.com/2097/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetinterviewquestion.wordpress.com/2097/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2097&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetinterviewquestion.wordpress.com/2013/04/01/net-interview-questions-and-answers-how-can-you-define-a-property-read-only-for-external-world-and-writable-in-the-same-assembly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f3702a13fcfab9c2a6750be11b6e7087?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetinterviewquestion</media:title>
		</media:content>
	</item>
		<item>
		<title>Algorithm  interview questions and answers: – Can you write code for bubble sort algorithm?</title>
		<link>http://dotnetinterviewquestion.wordpress.com/2013/03/30/net-interview-questions-and-answers-can-you-write-code-for-bubble-sort/</link>
		<comments>http://dotnetinterviewquestion.wordpress.com/2013/03/30/net-interview-questions-and-answers-can-you-write-code-for-bubble-sort/#comments</comments>
		<pubDate>Sat, 30 Mar 2013 05:56:42 +0000</pubDate>
		<dc:creator>c# and .NET Interview questions</dc:creator>
				<category><![CDATA[Algorithm interview question]]></category>
		<category><![CDATA[Bubble sort algorithm interview questions]]></category>
		<category><![CDATA[c# algorithm interview questions]]></category>
		<category><![CDATA[c# data structure interview questions]]></category>
		<category><![CDATA[Csharp interview questions]]></category>
		<category><![CDATA[Data structure interview question]]></category>
		<category><![CDATA[Java algorithm interview question]]></category>
		<category><![CDATA[Java data structure interview questions]]></category>
		<category><![CDATA[programming interview questions]]></category>
		<category><![CDATA[Algorithm interview questions]]></category>

		<guid isPermaLink="false">http://dotnetinterviewquestion.wordpress.com/?p=2084</guid>
		<description><![CDATA[In some of the bigger companies like google , Microsoft etc  algorithm has been a favorite topic during c# interviews. So we are starting with a dedicatedseries which mainly targets how to write these algorithms in c#. So let’s start &#8230; <a href="http://dotnetinterviewquestion.wordpress.com/2013/03/30/net-interview-questions-and-answers-can-you-write-code-for-bubble-sort/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2084&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In some of the bigger companies like google , Microsoft etc  algorithm has been a favorite topic during <a href="http://www.youtube.com/watch?v=6ZxVx93wa7Q" target="_blank">c# interviews</a>. So we are starting with a dedicatedseries which mainly targets how to write these algorithms in c#. So let’s start with the famous one bubble sort.</p>
<p>Bubble sort is a sorting algorithm which steps through a collection repeatedly, comparing and swapping until the collection gets sorted.  Below is a simple pictorial representation of how bubble sort works.  We have a simple number collection of values 5, 1, 3 and 4 and we would like to sort them in an ascending manner.</p>
<p>Step 1 :- So we first start with number 5. The adjacent number to 5 is 1. So we compare 5 with 1. Now 5 is greater than 1 so we swap position of 1 with 5 and 5 with 1. Look at Step 2 for the final image after swapping.</p>
<p>Step 2:- Now we compare 5 with 3. 5 is greater than 3 so we swap position of 5 with 3 and 3 with 5. This continues until 5 has been compared with all numbers in the list. Step 4 is the final position for number 5.</p>
<p>Now we take the second number i.e. 1 and we compare and swap 1 with all other numbers until it reaches its final position. This is done with all numbers in the collection.</p>
<p style="text-align:center;"><a href="http://dotnetinterviewquestion.files.wordpress.com/2013/03/sorted-change.png"><img class="aligncenter  wp-image-2085" alt="Sorted change" src="http://dotnetinterviewquestion.files.wordpress.com/2013/03/sorted-change.png?w=550&#038;h=400" width="550" height="400" /><br />
</a></p>
<p>Now to implement the above logic in c#it’s a two-step process.</p>
<ul>
<li><span style="font-size:16px;line-height:1.5;">Loop through all elements in the collection.</span></li>
</ul>
<p>Below is a sample code which loops through all elements in a list called as unsorted.</p>
<div>
<p>// Loop through all elements<br />
for (int i = 1; i &lt;= unsorted.Count; i++)</p>
<p>{</p>
<p>}</p>
<ul>
<li><span style="font-size:16px;line-height:1.5;"><span style="font-size:16px;line-height:1.5;"> For every element in the collection compare and swap with all the remaining elements.</span></span></li>
</ul>
<p>Now for every element we need to loop through the rest of elements. In other words we need a nested for loop.  The outer “for loop” loops through all elements and the inner “for loop” loops this element with other elements. Please note the loop runs till unsorted.Count-i.</p>
<div>
<p>// Loop through all elements<br />
for (int i = 1; i &lt;= unsorted.Count; i++)</p>
<p>// All elements compare / swap with rest of elements<br />
for (int j = 0; j &lt; unsorted.Count &#8211; i; j++)</p>
<p>{</p>
<p>// Compare and Swap logic goes here</p>
<p>}</p>
<p><span style="font-size:16px;line-height:1.5;"><br />
Below is the compare and swap logic which goes in the inner loop.</span></p>
<div>
<div>
<p>if (unsorted[j] &gt; unsorted[j + 1])</p>
<p>{</p>
<p>temp = unsorted[j];</p>
<p>unsorted[j] = unsorted[j + 1];</p>
<p>unsorted[j + 1] = temp;</p>
<p>}<span style="font-size:16px;line-height:1.5;">         </span></p>
</div>
<p>Below is the full final code for bubble sort.</p>
<div>
<p>static public List&lt;int&gt; bubblesort(List&lt;int&gt; unsorted)</p>
<p>{</p>
<p>int temp;</p>
<p>for (int i = 1; i &lt;= unsorted.Count; i++)</p>
<p>for (int j = 0; j &lt; unsorted.Count &#8211; i; j++)</p>
<p>if (unsorted[j] &gt; unsorted[j + 1])</p>
<p>{</p>
<p>temp = unsorted[j];</p>
<p>unsorted[j] = unsorted[j + 1];</p>
<p>unsorted[j + 1] = temp;</p>
<p>}</p>
<p>return unsorted;</p>
<p>}</p>
<p>Visit us at <a href="http://www.questpond.com/" target="_blank">www.questpond.com</a> for more <a href="http://www.questpond.com/" target="_blank">.NET interview questions and answers</a></p>
<p>This is a nice <a href="http://www.dotnetinterviewquestions.in/article_c-interview-questions:-how-will-you-explain-partial-classes-in-c-and-net_84.html" target="_blank">c# interview question :- What are partial classes in c# ?</a></p>
</div>
</div>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetinterviewquestion.wordpress.com/2084/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetinterviewquestion.wordpress.com/2084/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2084&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetinterviewquestion.wordpress.com/2013/03/30/net-interview-questions-and-answers-can-you-write-code-for-bubble-sort/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f3702a13fcfab9c2a6750be11b6e7087?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetinterviewquestion</media:title>
		</media:content>

		<media:content url="http://dotnetinterviewquestion.files.wordpress.com/2013/03/sorted-change.png?w=300" medium="image">
			<media:title type="html">Sorted change</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server interview questions and answers: &#8211; What is difference between “ReportServer” and “ReportServerTempDb”?</title>
		<link>http://dotnetinterviewquestion.wordpress.com/2013/03/28/sql-server-interview-questions-and-answers-what-is-difference-between-reportserver-and-reportservertempdb/</link>
		<comments>http://dotnetinterviewquestion.wordpress.com/2013/03/28/sql-server-interview-questions-and-answers-what-is-difference-between-reportserver-and-reportservertempdb/#comments</comments>
		<pubDate>Thu, 28 Mar 2013 10:14:43 +0000</pubDate>
		<dc:creator>c# and .NET Interview questions</dc:creator>
				<category><![CDATA[Csharp interview questions]]></category>
		<category><![CDATA[programming interview questions]]></category>
		<category><![CDATA[ReportServer]]></category>
		<category><![CDATA[ReportServerTempDb]]></category>
		<category><![CDATA[SQL Server interview questions and answers]]></category>
		<category><![CDATA[SQL server training]]></category>

		<guid isPermaLink="false">http://dotnetinterviewquestion.wordpress.com/?p=2067</guid>
		<description><![CDATA[Reporting Services uses two databases at the backend, “ReportServer” and “ReportServerTempDB”. “ReportServer” database is the core database. It stores data like Report Schema, Report meta-data, report data sources, credential for report data sources etc. “ReportServerTempDB” stores cached copy of report &#8230; <a href="http://dotnetinterviewquestion.wordpress.com/2013/03/28/sql-server-interview-questions-and-answers-what-is-difference-between-reportserver-and-reportservertempdb/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2067&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Reporting Services uses two databases at the backend, “ReportServer” and “ReportServerTempDB”. “ReportServer” database is the core database.</p>
<p>It stores data like Report Schema, Report meta-data, report data sources, credential for report data sources etc. “ReportServerTempDB” stores cached copy of report data. The main intention of “ReportServerTempDB” is to increase performance.</p>
<p><span style="font-size:16px;line-height:1.5;"><br />
Visit us at <a href="http://www.questpond.com/" target="_blank">www.questpond.com</a> for more <a href="http://www.questpond.com/" target="_blank">SQL Server interview questions</a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetinterviewquestion.wordpress.com/2067/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetinterviewquestion.wordpress.com/2067/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2067&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetinterviewquestion.wordpress.com/2013/03/28/sql-server-interview-questions-and-answers-what-is-difference-between-reportserver-and-reportservertempdb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f3702a13fcfab9c2a6750be11b6e7087?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetinterviewquestion</media:title>
		</media:content>
	</item>
		<item>
		<title>.NET interview questions and answers: &#8211; How can we create a windows service using .NET?</title>
		<link>http://dotnetinterviewquestion.wordpress.com/2013/03/23/net-interview-questions-and-answers-how-can-we-create-a-windows-service-using-net/</link>
		<comments>http://dotnetinterviewquestion.wordpress.com/2013/03/23/net-interview-questions-and-answers-how-can-we-create-a-windows-service-using-net/#comments</comments>
		<pubDate>Sat, 23 Mar 2013 06:02:12 +0000</pubDate>
		<dc:creator>c# and .NET Interview questions</dc:creator>
				<category><![CDATA[.NET and C# training]]></category>
		<category><![CDATA[.NET interview questions and answers]]></category>
		<category><![CDATA[c# and .NETinterviews]]></category>
		<category><![CDATA[Csharp interview questions]]></category>
		<category><![CDATA[programming interview questions]]></category>
		<category><![CDATA[windows service using .NET]]></category>
		<category><![CDATA[.Net and c# training]]></category>
		<category><![CDATA[C# interview questions]]></category>

		<guid isPermaLink="false">http://dotnetinterviewquestion.wordpress.com/?p=2057</guid>
		<description><![CDATA[Windows Services are long-running executable applications that runs at the background, which has the ability to start automatically when the computer boots and also can be manually paused, stopped or even restarted. Following are the steps to create a service:- &#8230; <a href="http://dotnetinterviewquestion.wordpress.com/2013/03/23/net-interview-questions-and-answers-how-can-we-create-a-windows-service-using-net/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2057&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Windows Services are long-running executable applications that runs at the background, which has the ability to start automatically when the computer boots and also can be manually paused, stopped or even restarted.</p>
<p>Following are the steps to create a service:-</p>
<p><span style="font-size:16px;line-height:1.5;">Create a project of type “Windows Service”.</span></p>
<p style="text-align:center;"><a href="http://dotnetinterviewquestion.files.wordpress.com/2013/03/ws.png"><img class="aligncenter  wp-image-2058" alt="ws" src="http://dotnetinterviewquestion.files.wordpress.com/2013/03/ws.png?w=455&#038;h=435" width="455" height="435" /></a></p>
<p align="center"><b>Figure 2.5:- Windows service</b></p>
<p>If you see, the class created it is automatically inheriting from “System.Service Process.ServiceBase”</p>
<p>You can override the following events provided by service and write your custom code.  All the three main events can be used that is Start, stop and continue.</p>
<p><a href="http://dotnetinterviewquestion.files.wordpress.com/2013/03/ws-2.png"><img class="wp-image-2059 alignleft" alt="ws 2" src="http://dotnetinterviewquestion.files.wordpress.com/2013/03/ws-2.png?w=600&#038;h=210" width="600" height="210" /></a></p>
<p>Now to install the service you need to do run the install util exe.</p>
<p><a href="http://dotnetinterviewquestion.files.wordpress.com/2013/03/ws-3.png"><img class="wp-image-2060 alignleft" alt="ws 3" src="http://dotnetinterviewquestion.files.wordpress.com/2013/03/ws-3.png?w=600&#038;h=35" width="600" height="35" /> </a></p>
<p>For more such <a href="http://www.questpond.com/" target="_blank">c# and .NET interview questions and answers</a> visit <a href="http://www.questpond.com/" target="_blank">http://www.questpond.com/</a></p>
<p>Huge collection of c# and .NET interview question videos: &#8211; <a href="http://www.youtube.com/playlist?list=PL5753E1DFB675A268" target="_blank">c# and .NET interview question videos</a>.</p>
<p>This .NET interview question is taken from the book<a href="http://www.flipkart.com/net-interview-questions-5/p/itmdyuqzdqx8cvqx?pid=9788183331470" target="_blank"> .NET interview questions and answers book</a> by Shivprasad koirala.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetinterviewquestion.wordpress.com/2057/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetinterviewquestion.wordpress.com/2057/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetinterviewquestion.wordpress.com&#038;blog=18044032&#038;post=2057&#038;subd=dotnetinterviewquestion&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnetinterviewquestion.wordpress.com/2013/03/23/net-interview-questions-and-answers-how-can-we-create-a-windows-service-using-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f3702a13fcfab9c2a6750be11b6e7087?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dotnetinterviewquestion</media:title>
		</media:content>

		<media:content url="http://dotnetinterviewquestion.files.wordpress.com/2013/03/ws.png?w=300" medium="image">
			<media:title type="html">ws</media:title>
		</media:content>

		<media:content url="http://dotnetinterviewquestion.files.wordpress.com/2013/03/ws-2.png?w=300" medium="image">
			<media:title type="html">ws 2</media:title>
		</media:content>

		<media:content url="http://dotnetinterviewquestion.files.wordpress.com/2013/03/ws-3.png?w=300" medium="image">
			<media:title type="html">ws 3</media:title>
		</media:content>
	</item>
	</channel>
</rss>
