मेरा कार्यक्रम संकलन जबकि (मैं monodevelop आईडीई से यह संकलन) मैं एक त्रुटि प्राप्त:कॉल निम्न विधियों या गुण С # के बीच अस्पष्ट है
Error CS0121: The call is ambiguous between the following methods or properties:
System.Threading.Thread.Thread(System.Threading.ThreadStart)' and
System.Threading.Thread.Thread(System.Threading.ParameterizedThreadStart)' (CS0121)
यहाँ कोड का हिस्सा है।
Thread thread = new Thread(delegate {
try
{
Helper.CopyFolder(from, to);
Helper.RunProgram("chown", "-R www-data:www-data " + to);
}
catch (Exception exception)
{
Helper.DeactivateThread(Thread.CurrentThread.Name);
}
Helper.DeactivateThread(Thread.CurrentThread.Name);
});
thread.IsBackground = true;
thread.Priority = ThreadPriority.Lowest;
thread.Name = name;
thread.Start();
आपका ध्यान