<?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/"
	>

<channel>
	<title>.NET &#8211; Sibeesh Passion</title>
	<atom:link href="https://sibeeshpassion.com/tag/net/feed/" rel="self" type="application/rss+xml" />
	<link>https://sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Mon, 10 Jun 2019 18:04:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>.NET &#8211; Sibeesh Passion</title>
	<link>https://sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Interview Questions For Experienced and Beginner .NET Professionals</title>
		<link>https://sibeeshpassion.com/dot-net-interview-questions-for-experienced-and-fresher/</link>
					<comments>https://sibeeshpassion.com/dot-net-interview-questions-for-experienced-and-fresher/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Tue, 16 Jun 2015 09:43:02 +0000</pubDate>
				<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[Q&A]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Answers]]></category>
		<category><![CDATA[Dot Net]]></category>
		<category><![CDATA[Questions]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=4621</guid>

					<description><![CDATA[[toc] Introduction Hi, I hope you are all fine. If you are a .Net professional and if you are looking for a change in job (especially in Infosys, IBM, DELL, Aversan) you may want to read: Interview Questions For 3 Year .NET Professionals. I have described my interview experience there. Now I will share some other important series of questions that will definitely ask in any .Net interview. What employers currently look for in a candidate is logical understanding with basic knowledge. So understanding the basics is very important, even if you are an experienced candidate. So let us start. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>[toc]</p>



<h2 class="wp-block-heading"><strong>Introduction </strong></h2>



<p>Hi, I hope you are all fine. If you are a .Net professional and if you are looking for a change in job (especially in Infosys, IBM, DELL, Aversan) you may want to read: <a href="http://sibeeshpassion.com/Infosys-Interview-Questions-For-DotNet-Professionals/" target="_blank" rel="noopener noreferrer">Interview Questions For 3 Year .NET Professionals.</a></p>



<p>I have described my interview experience there. Now I will share some other important series of questions that will definitely ask in any .Net interview. What employers currently look for in a candidate is logical understanding with basic knowledge. So understanding the basics is very important, even if you are an experienced candidate.</p>



<p>So let us start. I hope you will like this article. Please provide your valuable comments so that I can improve myself.</p>



<p>First of all you must be ready to introduce yourself. Please don&#8217;t use so many “mmmmm” and “And and and”. Be confident and don&#8217;t urge. Take your own time to describe yourself. Look straight. You can find more tips here: <a href="http://www.wikihow.com/Prepare-for-a-Job-Interview" target="_blank" rel="noopener noreferrer">How to Prepare for a Job Interview.</a></p>



<h2 class="wp-block-heading"><strong>Now we will concentrate on the technical questions.</strong></h2>



<p>Please note that these questions are asked in my interview experience, you may need to see more questions when you go for your interview.</p>



<p>1. What is the sequence of execution of the ASP.NET page life cycle?</p>



<p>The simple way is to remember SILVER.</p>



<p><em>S (It is not counted)<br>I (Init)<br>L (Load)<br>V (Validate)<br>E (Event)<br>R (Render)</em></p>



<p>Read more <a href="https://msdn.microsoft.com/en-us/library/ms178472(v=vs.85).aspx" target="_blank" rel="noopener noreferrer">here</a>.</p>



<p>2. What is the difference between a Hash Table and a Dictionary?</p>



<p>The main differences are listed below.</p>



<p><strong>Dictionary</strong>:</p>



<p>Returns an error if the key does not exist<br>No boxing and unboxing<br>Faster than a Hash table</p>



<p><strong>Hashtable</strong>:</p>



<p>Returns NULL even if the key does not exist<br>Requires boxing and unboxing<br>Slower than a Dictionary</p>



<p>3. How to use View state?</p>



<script src="https://gist.github.com/SibeeshVenu/34a3c94ddb49657ec034a87a614d25a4.js"></script>



<p>4. What are the state management techniques used in .NET?</p>



<p><strong>Client-side</strong>:</p>



<ul class="wp-block-list"><li>Hidden Field</li><li>View State</li><li>Cookies</li><li>Control State</li><li>Query Strings</li></ul>



<p><strong>Server-side</strong>:</p>



<p><em>Session</em></p>



<ul class="wp-block-list"><li>In Proc mode</li><li>State Server mode</li><li>SQL Server mode</li><li>Custom mode</li></ul>



<p><em>Application</em>.</p>



<p>Read <a href="http://www.codeproject.com/Articles/492397/State-Management-in-ASP-NET-Introduction" target="_blank" rel="noopener noreferrer">here</a>.</p>



<p>5. How can we create a new table in SQL with only the structure?</p>



<p>Here is the query to do that.</p>



<script src="https://gist.github.com/SibeeshVenu/a5cf9edbd0ecc016d0b8d5fb2b09fd66.js"></script>



<p><em>Points to be noted:</em></p>



<p>A is the source table.<br>B is the destination table.<br>The condition 1=2 is to prevent the data from being copyied.</p>



<p>6. How to add a button dynamically to a grid view?</p>



<script src="https://gist.github.com/SibeeshVenu/53e892a522ac31d40bfa7a2fe26dfdd2.js"></script>



<p>7. How to find a control inside a GridView?</p>



<script src="https://gist.github.com/SibeeshVenu/b3993cf9f80c1e6696273813fa16cb04.js"></script>



<p>Here we are finding the control myButton from the 0th row first cell.</p>



<p>8. What are abstract and interface? Provide actual examples.</p>



<p>Please read <a href="http://www.codeproject.com/Questions/43970/Real-world-examples-of-abstract-classes-and-interf" target="_blank" rel="noopener noreferrer">here</a>.</p>



<p>9. What is partial class?</p>



<p>There are the following situations of when splitting a class definition is desirable:<br>To work with large projects.<br>To split the class definitions as we needed with the keyword partial.</p>



<p>10. How to use a partial class?</p>



<script src="https://gist.github.com/SibeeshVenu/5773dd7db2a31c77533f4558f734c2ae.js"></script>



<p>11. How to remove a constraint from a table in SQL Server?</p>



<script src="https://gist.github.com/SibeeshVenu/d23dc61d7cf412cfa6c86cbe840134af.js"></script>



<p>12. How to create Table Variables In T-SQL?</p>



<p>Normally the syntax to create a table variable is the same as to create a table statement.</p>



<script src="https://gist.github.com/SibeeshVenu/8fa72f9b50dc1e8a4121190d54125038.js"></script>



<p>13. How can you delete a duplicate record from a table in SQL?</p>



<p>There are so many ways to do this. Here I am sharing what I use when I get that kind of situation.</p>



<ul class="wp-block-list"><li>I will create a temp table.</li><li>Copy the distinct data from the existing table to the temp table.</li><li>Empty the data in the existing table.</li><li>Insert the data from the temp table to the source table.</li></ul>



<p>Here is the query to do that:</p>



<script src="https://gist.github.com/SibeeshVenu/6d28476a8a74394e60e3d5a021a95ca0.js"></script>



<p>14. When to use an override and new in C#?</p>



<p>We can use override when there is virtual/abstract/override type of method in base class. We can use New when there is no virtual/abstract/override type of method in base class.</p>



<h3 class="wp-block-heading">Conclusion</h3>



<p>Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.</p>



<h3 class="wp-block-heading">Your turn. What do you think?</h3>



<p>A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.</p>



<p>Kindest Regards<br>Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/dot-net-interview-questions-for-experienced-and-fresher/feed/</wfw:commentRss>
			<slash:comments>27</slash:comments>
		
		
			</item>
		<item>
		<title>Infosys Interview Questions For DotNet Professionals</title>
		<link>https://sibeeshpassion.com/infosys-interview-questions-for-dotnet-professionals/</link>
					<comments>https://sibeeshpassion.com/infosys-interview-questions-for-dotnet-professionals/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Mon, 18 Aug 2014 10:48:45 +0000</pubDate>
				<category><![CDATA[Career Advice]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Dot Net Q&A]]></category>
		<category><![CDATA[Infosys Interview]]></category>
		<category><![CDATA[Infosys Interview Questions For DotNet Professionals]]></category>
		<category><![CDATA[Interview Questions For Dot Net]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=281</guid>

					<description><![CDATA[[toc] Introduction In this article I am going to share my interview experience with Infosys as a dot net developer. This post covers most of the interview questions asked by the interviewer. If you are going to attend any dot net interview, I recommend you to go through this article. It covers the basic dot net interview questions too. I hope you will fine this post useful. You can read another series of interview questions here : Interview Questions For Software Engineers Background On August 18, 2014 I attended an interview with Infosys, Chennai. When I entered the compound, there [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>[toc]</p>



<h3 class="wp-block-heading">Introduction</h3>



<p>In this article I am going to share my interview experience with Infosys as a dot net developer. This post covers most of the interview questions asked by the interviewer. If you are going to attend any dot net interview, I recommend you to go through this article. It covers the basic dot net interview questions too. I hope you will fine this post useful.</p>



<p>You can read another series of interview questions here : <a href="http://sibeeshpassion.com/category/interview/" target="_blank" rel="noopener noreferrer">Interview Questions For Software Engineers</a></p>



<h3 class="wp-block-heading">Background</h3>



<p>On <em>August 18, 2014</em> I attended an interview with Infosys, Chennai. When I entered the compound, there were many candidates. The atmosphere and culture in Infosys was very nice. I have attended many interviews in my life, but the interview with Infosys was something different. I thought to share that experience with you all.</p>



<h3 class="wp-block-heading">Points to be remember</h3>



<p>There are some mistakes I made in the interview, and I don&#8217;t want you to do the same.</p>



<ul class="wp-block-list"><li>Please ensure that you are maintaining eye contact with the interviewer.</li><li>Be confident of what you say. Don&#8217;t change your answer if the interviewer tries to make you do so.</li><li>Please avoid the unwanted examples.</li><li>Please never use any other technical terms that may provoke the interviewer into asking questions about it.</li><li>If you don&#8217;t know the answer, please say &#8220;I don&#8217;t know&#8221;. It is always better to say so instead of going with the wrong answer.</li></ul>



<p>You can find more tips here: <a href="http://www.wikihow.com/Prepare-for-a-Job-Interview" target="_blank" rel="noopener noreferrer">How to Prepare for a Job Interview</a></p>



<h3 class="wp-block-heading">Questions asked and answers</h3>



<p>(Here I am giving the answers that I answered .)</p>



<p><strong>Question 1:</strong> Tell me about yourself?</p>



<p><strong>Answer:</strong> You can find many answers to this question in the internet. Please see the following link:</p>



<p><a href="http://placement.freshersworld.com/power-preparation/Interview-preparation/tell-me-about-yourself-35714" target="_blank" rel="noopener noreferrer">Tell me about yourself</a></p>



<p><strong>Question 2:</strong> What is your role in your project? What is the team size?</p>



<p><strong>Answer:</strong> I said &#8220;My main role is coding, unit testing, big fixing and maintenance. My team size is 7&#8221;.</p>



<p><strong>Question 3:</strong> What is the hierarchy of your team?</p>



<p><strong>Answer:</strong> First I was confused by this question. Then I answered &#8220;Project Manager, Team Leader, Software Engineers, Trainees&#8221;.</p>



<p><strong>Question 4:</strong> Describe the projects that you have worked on?</p>



<p><strong>Answer:</strong> I described them. Please include the technologies you used in your projects and what kind of architecture (for example: 3-tire, n- tier) you used.</p>



<p><strong>Question 5:</strong> What is the employee size in your company? You don&#8217;t need to be accurate. You can provide the approximate value.</p>



<p><strong>Answer:</strong> I said &#8220;150 to 200&#8221;.</p>



<p><em>Then he moved to the programming section.</em></p>



<p><strong>Question 6:</strong> Write an algorithm and program to determine whether or not a word is a palindrome.</p>



<p>We can do it in either of the following two ways</p>



<ul class="wp-block-list"><li>Using a built-in function as in the following</li></ul>



<script src="https://gist.github.com/SibeeshVenu/9f4993420d0546720a10b3ebff8855ab.js"></script>



<p>Ref: <a href="http://www.codeproject.com/Tips/153399/To-check-string-is-palindrome-or-not-in-NET-C" target="_blank" rel="noopener noreferrer">To check string is palindrome or not in .NET (C#)</a></p>



<ul class="wp-block-list"><li>Without using a built-in function</li></ul>



<p>When I wrote the first program, the interviewer asked me to write the same without using a built-in function.</p>



<script src="https://gist.github.com/SibeeshVenu/d82f8dcec4a5b80a44d0aacfb47236f2.js"></script>



<p>Ref: You can find more here: <a href="http://www.dotnetperls.com/palindrome" target="_blank" rel="noopener noreferrer">C# Palindrome</a></p>



<p><strong>Question 7:</strong> Write a program to determine the count of a specific character in a string.</p>



<p><strong>Answer:</strong></p>



<script src="https://gist.github.com/SibeeshVenu/d3cf541eaee6d815ae7a1e3ec3ba20f3.js"></script>



<p>Please see this for more suggestions: <a href="http://www.codeproject.com/Questions/177626/count-number-of-characters-in-a-string" target="_blank" rel="noopener noreferrer">count the number of characters in a string.</a></p>



<p><strong>Question 8:</strong> Next he gave me a program like the following and asked me what the output of this will be?</p>



<script src="https://gist.github.com/SibeeshVenu/1d6e350e3c1eb478fac97943d2edd21c.js"></script>



<p>Answer: I said &#8220;Here we have a constructor A; a constructor should not have a return type. So the code above will throw a compilation error.&#8221;</p>



<p><strong>Question 9:</strong> What may be the output of the following program?</p>



<script src="https://gist.github.com/SibeeshVenu/610aa6170a1acbe0afceadffe8483627.js"></script>



<p><strong>Answer:</strong> I said the output will be as preceding.</p>



<p>Hi you are in class A</p>



<p>Hi you are in class B</p>



<p>Even though you are creating an object of the derived class, it will invoke the base class first.</p>



<p><strong>Question 10:</strong> Write the output of the following program?</p>



<script src="https://gist.github.com/SibeeshVenu/a9afe1f0a04654f4d4c148daf06f73a6.js"></script>



<p><strong>Answer:</strong> It will throw a compilation error. B does not contain a constructor that takes 1 argument. If you want to make this program run, you must create a constructor with parameters for class B also.</p>



<p><strong>Question 11:</strong> Abstract and interface real time examples.</p>



<p><strong>Answer:</strong> Please read it here: <a href="http://www.codeproject.com/Questions/341625/Real-time-example-of-interface" target="_blank" rel="noopener noreferrer">Real time example of interface</a></p>



<p><strong>Question 12:</strong> Describe authentication, types, differences?</p>



<p><strong>Answer:</strong> Forms, Windows, Passport. Please read more here: <a href="http://www.codeproject.com/Articles/98950/ASP-NET-authentication-and-authorization" target="_blank" rel="noopener noreferrer">ASP.NET authentication and authorization</a></p>



<p><strong>Question 13:</strong> Why DBMS? Why don&#8217;t we save data in separate files?</p>



<p>Answer: I didn&#8217;t know what exactly he meant, I got stuck there for a while. Finally I came up with the answer that &#8220;Normalization&#8221; is the main advantage of a DBMS.</p>



<p>Read more here: <a href="http://courses.cs.washington.edu/courses/cse544/99sp/lectures/intro/sld010.htm" target="_blank" rel="noopener noreferrer">Why use a DBMS?</a></p>



<p><strong>Question 14:</strong> What is the differences between a Primary key and a Unique key?</p>



<p><strong>Answer:</strong> Primary key doesn&#8217;t allow NULL, a unique key does.</p>



<p><strong>Question 15:</strong> What exactly is happening when we make a field a primary key?</p>



<p><strong>Answer:</strong> A clustered index will be created for that specific field.</p>



<p><strong>Question 16:</strong> How may clustered index we can create in table?</p>



<p><strong>Answer:</strong> Basically we can create only one clustered index, but there is a way to have more. Please read here: <a href="http://technet.microsoft.com/en-us/library/ms165305(v=sql.105).aspx" target="_blank" rel="noopener noreferrer">Only one clustered index can be created on table . (Visual Database Tools)</a></p>



<p><strong>Question 17:</strong> What is the difference between a clustered and a non-clustered index?</p>



<p><strong>Answer:</strong> I explained, please read here: <a href="http://www.codeproject.com/Articles/173275/Clustered-and-Non-Clustered-Index-in-SQL" target="_blank" rel="noopener noreferrer">Clustered and Non-Clustered Index in SQL 2005</a></p>



<p><strong>Question 18:</strong> What is a Distributed System?</p>



<p><strong>Answer:</strong> A collection of autonomous computers. Find out more <a href="http://www.csc.villanova.edu/~schragge/CSC8530/Intro.html" target="_blank" rel="noopener noreferrer">http://www.csc.villanova.edu/~schragge/CSC8530/Intro.html</a></p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2014/08/Distributed-System.gif"><img fetchpriority="high" decoding="async" width="421" height="295" src="http://sibeeshpassion.com/wp-content/uploads/2014/08/Distributed-System.gif" alt="Distributed System" class="wp-image-12442"/></a><figcaption>Distributed System</figcaption></figure>



<p>Image Courtesy : MSDN</p>



<p><strong>Question 19:</strong> What will be the output for the below mentioned lines in JQuery?</p>



<script src="https://gist.github.com/SibeeshVenu/64d6dcfb8306fc5a3f8a02e5af1cb69d.js"></script>



<p>That was little tricky at that time. For a while I thought, and I just wrote the question to a paper, and replied.</p>



<script src="https://gist.github.com/SibeeshVenu/5bb28d85a3d40c2a4869c523a51d0be9.js"></script>



<p>Hmmm finally he said &#8220;You are selected for the next round&#8221; 🙂</p>



<p>Next was the direct HR round. That was a simple round. He just asked me to fill in some forms. And then, after a week they sent me an Offer Letter 🙂</p>



<h3 class="wp-block-heading">Conclusion</h3>



<p>Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback. The questions and answers mentioned may or may not ask in your interview. So please refer all the interview questions and answers from all the experts :). Be prepared. I wish you <strong>Good Luck</strong> .</p>



<h3 class="wp-block-heading">Your turn. What do you think?</h3>



<p>A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.</p>



<p>Kindest Regards<br>Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/infosys-interview-questions-for-dotnet-professionals/feed/</wfw:commentRss>
			<slash:comments>67</slash:comments>
		
		
			</item>
	</channel>
</rss>
