Thank you ! this helped out A lot!!!!
Uh Oh I got a ProblemNVM I Fixed it I for got the
using System.Diagnostics;
I put the info in and I got an error Making it.Code:
using System;
using System.Diagnostics;
public class Password
{
public static void Main(string[] args)
{
Console.WriteLine("Please put in your Username.");
string U = Console.ReadLine();
Console.WriteLine("Please put in your Password.");
string P = Console.ReadLine();
if (U == "Username")
{
if (P == "Password")
{
Process mystuff = new Process();
mystuff.StartInfo.FileName = "MyStuff.exe";
mysutff.StartInfo.Arguments = "ProcessStart.cs";
mystuff.Start();
Console.WriteLine("SUCCESS");
}
}
}
}
This is the ErrorError:
Password.cs(15,5): error CS246: The type or namespace name 'Process' could not be found (are you missing a using directive or an assembly reference?)
Password.cs(16,5): error CS246: The type or namespace name 'mystuff' could not be found (are you missing a using directive or an assembly reference?)
Password.cs(17,5): error CS246: The type or namespace name 'mystuff' could not be found (are you missing a using directive or an assembly reference?)
Password.cs(18,5): error CS246: The type or namespace name 'mystuff' could not be found (are you missing a using directive or an assembly reference?)
How do I fix this?