I'm developing a **Windows Mobile 5.0 and above** application using **.Net Compact Framework 2.0 SP**2 and **C#**.

How can I know when a thread ends?

This is my code:

```
System.Threading.Thread thread1 =
    new System.Threading.Thread(() => RetreiveSoMuchData(ID));
thread1.Start();

```

Thank you.