This is a discussion on Simple Interview Questions within the C# Programming forums, part of the Software Development category; Hi Guys, Here we can discuss some simple interview questions and answers for the questions.It will be really good ....
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi Guys, Here we can discuss some simple interview questions and answers for the questions.It will be really good .I hope you will enjoy these questions.Thanks
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| Sponsored Links |
| |||
| inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things. When an ASP.NET request is received (usually a file with .aspx extension), the ISAPI filter aspnet_isapi.dll takes care of it by passing the request to the actual worker process aspnet_wp.exe.
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| Quest: What’s the difference between Response.Write() andResponse.Output.Write()? Ans:Response.Output.Write() allows you to write formatted output.
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| Question: What methods are fired during the page load? Answer: Init() - when the page is instantiated Load() - when the page is loaded into server memory PreRender() - the brief moment before the page is displayed to the user as HTML Unload() - when page finishes loading.
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| Hi, This is interview question, public void A() { int x; x = 8; x *= 4 + 8 / 2; } Given the above code, what is the value of "x"? The Answer is 64...
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| Hi, Question:Which Variable type is best to choosen for accepting Null Values? Ans: string variable is assigned a null value by default
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| Hi, Question:Which method is implicitly called when an object is created Answer:Constructor is called when a class is instantiated
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| Hi, Question: Which statement is invalid with regards to Constant A) They must be initialized when they are declaredB) The value of the constant must be computable at compile timeC) Constants are not staticD) Constant is a variable whose value can be changed through Answer: C
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| How many types of cookies are there in .NET ? Answer: Two type of cookies. a) single valued eg request.cookies(”UserName”).value=”dotnetquestion” b)Multivalued cookies. These are used in the way collections are used example request.cookies(”CookiName”)(”UserName”)=”dotnetqu estionMahesh” request.cookies(”CookiName”)(”UserID”)=”interview″
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| How to start Outlook,NotePad file in AsP.NET with code ? Answer: Here is the syntax to open outlook or notepad file in ASP.NET VB.NET Process.Start("Notepad.exe") ; Process.Start("msimn.exe"); C#.NET System.Diagnostics.Process.Start("msimn.exe"); System.Diagnostics.Process.Start("Notepad.exe");
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| What is different between WebUserControl and in WebCustomControl ? Answer: Web user controls :- Web User Control is Easier to create and another thing is that its support is limited for users who use a visual design tool one gud thing is that its contains static layout one more thing a seprate copy is required for each application. Web custom controls:-Web Custom Control is typical to create and gud for dynamic layout and another thing is it have full tool support for user and a single copy of control is required because it is placed in Global Assembly cache.
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| Question:-What do you mean by three-tier architecture? Answer: The three-tier architecture was comes into existence to improve management of code and contents and to improve the performance of the web based applications.There are mainly three layers in three-tier architecture.the are define as follows (1)Presentation (2)Business Logic (3)Database (1)First layer Presentation contains mainly the interface code, and this is shown to user. This code could contain any technology that can be used on the client side like HTML, JavaScript or VBScript etc. (2)Second layer is Business Logic which contains all the code of the server-side .This layer have code to interact with database database and to query, manipulate, pass data to user interface and handle any input from the UI as well. (3)Third layer Data represents the data store like MS Access, SQL Server, an XML file, an Excel file or even a text file containing data also some addtional database are also added to that layers.
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| What is Finalizer in .NET define Dispose and Finalize ? Answer: We can say that Finalizer are the methods that's helps in cleanp the code that is executed before object is garbage collected .The process is called finalization . There are two methods of finalizer Dispose and Finalize .There is little diffrenet between two of this method . When we call Dispose method is realse all the resources hold by an object as well as all the resorces hold by the parent object.When we call Dispose method it clean managed as well as unmanaged resources. Finalize methd also cleans resources but finalize call dispose clears only the unmanged resources because in finalization the garbase collecter clears all the object hold by managed code so finalization fails to prevent thos one of methd is used that is: GC.SuppressFinalize.
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| What you thing about the WebPortal ? Answer: Web portal is nothing but a page that allows a user to customize his/her homepage. We can use Widgets to create that portal we have only to drag and drop widgets on the page. The user can set his Widgets on any where on the page where he has to get them. Widgets are nothing but a page area that helps particular function to response. Widgets example are address books, contact lists, RSS feeds, clocks, calendars, play lists, stock tickers, weather reports, traffic reports, dictionaries, games and another such beautiful things that we can not imagine. We can also say Web Parts in Share Point Portal. These are one of Ajax-Powered.
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| What is late binding ? Answer: When code interacts with an object dynamically at runtime .because our code literally doesnot care what type of object it is interacting and with the methods thats are supported by object and with the methods thats are supported by object .The type of object is not known by the IDE or compiler ,no Intellisense nor compile-time syntax checking is possible but we get unprecedented flexibilty in exchange.if we enable strict type checking by using option strict on at the top of our code modules ,then IDE and compiler will enforce early binding behaviour .By default Late binding is done.
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| When we get Error 'HTTP 502 Proxy Error' ? Answer: We get this error when we execute ASP.NET Web pages in Visual Web Developer Web server, because the URL randomly select port number and proxy servers did not recognize the URL and return this error. To resolve this problem we have to change settings in Internet Explorer to bypass the proxy server for local addresses, so that the request is not sent to the proxy.
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| Define SMTPclient class in DotNet framework class libarary ? Answer: Each classes in dotnet framework inclue some properties,method and events.These properties ,methods and events are member of a class.SMTPclient class mainly concern with sending mail.This class contain the folling member. Properties:- Host:-The name or IP address of email server. Port:-Port that is use when sending mail. Methods:- Send:-Enables us to send email synchronously. SendAsynchronous:-Enables us to send an email asynchronously. Event:- SendCompleted:-This event raised when an asynchronous send opertion completes.
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| Question:-What is Com Marshler and its importance in .NET ? Answer: Com Marshler is one of useful component of CLR. Its Task is to marshal data between Managed and Unmanaged environment .It helps in representation of data accross diffrenet execution enviroment.It performs the conversion of data format between manage and unmanaged code.By the helps of Com Marshlar CLR allows manage code to interoperate with unmanaged code.
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Interview Questions & Answers | H2o | Interview Questions & Answers and Tips | 102 | 04-07-2008 07:26 AM |
| Testing Interview Questions....here | tanurai | Interview Questions & Answers and Tips | 6 | 03-24-2008 04:25 AM |
| HR Interview Questions with Answers | Sabari | Interview Questions & Answers and Tips | 63 | 11-23-2007 06:13 AM |
| .Net Interview Questions & Answers | Venkat | Interview Questions & Answers and Tips | 100 | 11-13-2007 06:55 AM |
| Interview Questions | shiva | Interview Questions & Answers and Tips | 6 | 08-24-2007 02:28 AM |