Algorithms - DOT NET Chapter Wise Interview Questions Question 1: Find if number is even or odd? Answer: A number is even if remainder yields zero when divided by “2”. A number is odd when remainder yields zero, if divided by “3". You get the remainder value by using the “%” sign. Below is a simple code which shows how to check for even and odd number in … [Read more...]
Extra’s – DOT NET Chapter Wise Interview Questions
Extra’s - DOT NET Chapter Wise Interview Questions Question 1: What is Multi-Targeting in .NET? Answer: In previous versions of Visual Studio, every version was tied up with a framework. For instance Visual Studio 2003 only works with 1.1 and Visual Studio 2005 only work with 2.0. From Visual Studio 2008 they have added multi-targeting feature. You can use same Visual … [Read more...]
.NET Interoperability – DOT NET Chapter Wise Interview Questions
.NET Interoperability - DOT NET Chapter Wise Interview Questions Question 1: How can we use COM Components in .NET? Answer: .NET components communicate with COM using RCW (Runtime Callable Wrapper). Following are the ways with which you can generate RCW: Adding reference in Visual Studio.NET. See Figure 19.1 (Adding reference using VS.NET 2005). Wrapper class is … [Read more...]
XML – DOT NET Chapter Wise Interview Questions
XML - DOT NET Chapter Wise Interview Questions Question 1: What is XML?(B)What is XML? Answer: XML (Extensible Markup Language) is all about describing data. Below is a XML, which describes invoice data. <?xml version="l.0" … [Read more...]
Threading – DOT NET Chapter Wise Interview Questions
Threading - DOT NET Chapter Wise Interview Questions Question 1: What is multi-tasking? Answer: It is a feature of modern operating systems with which we can run multiple programs at same time, for example Word, Excel, etc. Question 2: What is multi-threading? Answer: Multi-threading forms subset of multi-tasking. Instead of having to switch between programs, this … [Read more...]
Reports – DOT NET Chapter Wise Interview Questions
Reports - DOT NET Chapter Wise Interview Questions Question 1: How do we access crystal reports in .NET? Answer: Crystal reports comes with Visual Studio setup itself. Right click the Solution Explorer -> Add New Item and you can see a Crystal Report template as shown in Figure 16.1. You can add an ‘.rpt’ file using this template. Question 2: What are the various … [Read more...]
Ajax – DOT NET Chapter Wise Interview Questions
Ajax - DOT NET Chapter Wise Interview Questions Question 1: What problem does Ajax solve? Answer: In order to answer this question first lets understand how does browser and server work when we request any Website. Figure 15.1 depicts pictorially the Web environment. When client sends data to the server it post backs form element data, hidden fields, images, cookie … [Read more...]
LINQ and Entity Framework – DOT NET Chapter Wise Interview Questions
LINQ and Entity Framework - DOT NET Chapter Wise Interview Questions Question 1: Define LINQ. Answer: LINQ (Language Integrated Query Microsoft) is a uniform programming model for any kind of data access. It is also an OR-mapper which helps us to expedite our business object creation process. LINQ enables you to query and manipulate data independently of data sources. … [Read more...]
WPF – DOT NET Chapter Wise Interview Questions
WPF - DOT NET Chapter Wise Interview Questions Question 1: What is WPF? Answer: WPF (Windows Presentation Foundation) is a graphical subsystem for displaying user interfaces, documents, images, movies, etc., in windows application. Question 2: What is the need of WPF when we had Windows forms? Answer: Remember: ABCDEFG A - Anywhere execution (Windows or Web) B - … [Read more...]
SQL SERVER – DOT NET Chapter Wise Interview Questions
SQL SERVER - DOT NET Chapter Wise Interview Questions Question 1: What is normalization? Answer: Note: A regular .NET programmer working on projects often stumbles in this question, which is but obvious. Bad part is sometimes interviewer can take this as a very basic question to be answered and it can be a turning point for the interview. So let’s cram it. It is set of … [Read more...]