.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

How to restart the computer through c# in dotnet?

Posted By :Gowthammanju     Posted Date :June 11, 2011    Points :40   Category :.NET Framework 
process.start("shutdown.exe","-r");

You can also find related Interview Question to How to restart the computer through c# in dotnet?  below: 

What is garbage collection in dotnet?

  
Garbage collection is a mechanism that allows the computer to detect when an object can no longer be accessed. It then automatically releases the memory used by that object (as well as calling a clean-up routine, called a "finalizer," which is written by the user). Some garbage collectors, like the one used by .NET, compact memory and therefore decrease your program's working set. (More...)

How many types of JIT compilers in dotnet?

  
There are mainly three types of JIT Compilers. Pre-JIT:-Pre-JIT complies complete source code into native code in a single compilation cycle.Its hapeen at the time of deployment. Econo-JIT:-Econo-JIT compiles only those methods which is called at runtime and these methods are removed when these are not required. Normal-JIT:- Compiles method that are called on runtime.These methods are called first time they are compiled and then stored in cache. (More...)

Computer Network?

  
1.Interconnection of two or more computers and peripherals

2.Allows user to share and transfer information (More...)

Types of Computer Networks?

  
Computer Networks:

1. Local Area Network (LAN)
2. Campus Area Network (CAN)
3. Metropolitan Area Network (MAN)
4. Wide Area Network (WAN) (More...)

How to find the last restart time and date of sql server?

  
First Check the recent error log
Then Check the creation of TempDb
Click Start and hit Run then type "Net Statistics server" in command prompt.
(More...)

Is dotnet frameword needed to implement silverlight?

  
No, It's a cross platform version of the .NET Framework which is included in the 6 MB Silverlight 4 download, so you do not need to have anything extra to be installed on the client in order to access Silverlight applications in the browser. (More...)

How to logoff the computer using c#.net?

  
process.start("shutdown.exe","-1") (More...)

How to restart SQL Server in single user mode? How to start SQL Server in minimal configuration mode?

  
SQL Server can be started from command line, using the SQLSERVR.EXE. This EXE has some very important parameters with which a DBA should be familiar with. -m is used for starting SQL Server in single user mode and -f is used to start the SQL Server in minimal confuguration mode. (More...)

If you have a Dotnet Web Service and a Java Client Application, then which Communication technology will you use other than WCF ?

  
Web Service (that is), ASMX will be the most likely way to achieve cross-vender inter-operability. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend