interview questions and answers

Microsoft Technologies Interview Questions | C# Interview Questions

Friday, 10 February 2012
Main Menu
Home
Online Test
Contest
Search
FAQs
Contact Us
Login
Most Popular Category
JAVA

Microsoft Technologies
ASP, C#, DotNet, ...

Programming
C++, PHP, VB, ...

SAP

Testing

Web Technologies

Polls
Does personal networking help in job search?
 
IT Placement Papers interview questions Microsoft Technologies interview questions C#

This category contains C# Interview Questions and Answers


How can I create a process that is running a supplied native executable (e.g., cmd.exe)?

PDF Print E-mail

The following code should run the executable and wait for it to exit before continuing: using System; using System.Diagnostics; public class ProcessTest { public static void Main(string[] args) { Process p = Process.Start(args[0]); p.WaitForExit(); Console.WriteLine(args[0] + " exited."); } } Remember to add a reference to System.Diagnostics.dll when you compile.




Be first to comment this article

Only registered users can write comments.
Please login or register.

 
< Prev   Next >

Microsoft Technologies Interview Questions | C# Interview Questions

Top!
Top!
Copyright © 2008 InterviewDuniya.com All Rights Reserved.
Partner Site: Maheshwari Matrimony