Say i ve a C# program which does something,
I want this program keep running by itself or start executing automatically when the computer starts.
And how can i m
It sounds like you want to create a Windows Service
Have a look here for some more information:
http://msdn.microsoft.com/en-us/library/zt39148a(v=VS.80).aspx
http://www.codeproject.com/Articles/14353/Creating-a-Basic-Windows-Service-in-C
http://www.c-sharpcorner.com/UploadFile/mahesh/window_service11262005045007AM/window_service.aspx
It is worth noting that Windows will not let you create a service that the user cannot terminate. This is due to security and performance. The only types of services that cannot be stopped, at least to my knowledge, are system drivers.