Hey all,I've only been learning to program now for about a week and i just wonderd if someone wouldnt mind looking over my first program (that works!). I just wanted to make sure i'm doing everything the way i should be (good practises etc etc). Basicly i tend to use my PC as a DVD player. Now alot of DVD's when they finish go back to the menu system and loop the music. I currently was just using a scheduled batch file to end the task at a specific time. But i thought i would try and use what little C# i had learnt (and googled what i haddent). I created a program that lets me select a process and then specify a length of time that it will countdown to till the process ends.As i said above it does work. But it just dosnt seem very neat. I just wonderd if i was learning the "right way" or if im just making a mess!I know i still need to add error checking. Thanks,JamesCODE:
using System;
using
namespace
{
hour =
min =
killTimer.countdown(hour, min);
}
i++;
killprocess(rtnName);
processToKill[0].Kill();