Microsoft.NET Interview Questions and Answers

Microsoft.NET Questions and Answers:

1 :: Is .NET capable of supporting multi-thread?

Multithreading is a important feature of .NET, which was not there in Visual Basic.

If u want to use Multithreading, import a namespace called as System.Threading.In this namespace there are many classes related to it like Mutex,....
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

2 :: What is IL and C#?

IL:

IL is a intermediate language, which is created when you compile the .net program. This is also a object oriented language. This makes cross language inheritance.

c#:

C# is a new OOPs language which is developed by Microsoft. This language gives flexibility, mordern, easy to use.

c# is one of the programming language defined as "Type safe version of c with oops" developed by Microsoft corporation.

IL(Intermediate Language) is a code which can be converted by .net to support the cross language support.
(That is whatever the language like c#, vb, c++,j# is used to program in .net that code is converted into IL which is common for all .net platform supporting languages before the execution, it supports the cross language support in .net platform)
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

3 :: What is satelite assembly?

Satellite assemblies are often used to deploy language-specific resources for an application. These language-specific assemblies work in side-by-side execution because the application has a separate product ID for each language and installs satellite assemblies in a language-specific subdirectory for each language. When uninstalling, the application removes only the satellite assemblies associated with a given language and .NET Framework version. No core .NET Framework files are removed unless the last language for that .NET Framework version is being removed
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

4 :: How to produce an assembly?

Goto command prompt Ist you have to set the path and type csc /t:library filename then you will be created assembly which will stored in the application directory.

for ex. i have file with hello.cs

i used to csc /t:library hello.cs

then it became hello.dll. stored in the application directory.
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

5 :: How to stop a thread?

NET allows to call System.Windows.Forms.Control functions only from thread where control was created. To run them from other thread we need to use Control.Invoke (synchronous call) or Control.BeginInvoke (asynchronous call) functions. For task like showing database records we need Invoke. To implement this :Delegate type for calling form function, delegate instance and function called using this delegate Invoke call from worker thread. Next problem is to stop worker thread correctly. Steps to do this:Set event "Stop Thread" Wait for event "Thread is stopped" While waiting for event process messages using Application.DoEvents function. This prevents deadlock because worker thread makes Invoke calls which are processed in main thread. Thread function checks in every iteration whether Stop Thread event is set. If event is set, function makes clean-up operations, sets event "Thread is stopped" and returns.
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

Rate This Category:
0/5 Rating (0 vote)
Place Your Question



Top: Microsoft.NET Interview Questions and Answers
Microsoft.NET Interview Questions and Answers

Top Frequently Asked Microsoft.NET Question
Frequently Asked Microsoft.NET Job Interview Question


Top Frequently opened Microsoft .Net Technologies Job Interview categories
Most popular Microsoft .Net Technologies Job Interview categories

Comments About Microsoft.NET Interview Questions and Answers

Share your valuable opinions, ideas and suggestions about Microsoft.NET Interview Questions and Answers
While placing your comment your email address is required but won't be published any where else; Personal information will be kept confidential; we do not sell or release our respective visitors private information.
  1. Webmaster 22nd of May 2012

    Webmaster Said

    Tell us what you feel about Microsoft.NET Interview Questions and Answers
    All comments will be published after review. No login or registration is required to post a comment on Microsoft.NET Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
    So start sharing your thoughts regarding Microsoft.NET Interview Questions and Answers
    Thank you.

Leave a Comment

Leave a Comment
  1.  Enter This Verification Code  Regenerate Verification Code  



Your reply will be added to the comment above (Below any other replies to this comment) -

Top Comments About: Microsoft.NET Interview Questions and Answers
Comments on Microsoft.NET Interview Questions and Answers

 
Top of Link batk to Microsoft.NET Interview Questions and Answers
Link batk to Microsoft.NET Interview Questions and Answers