C# How do you make a Thread/Parallel safe List<string> string {get set:}
<p>Maybe this is a simple question but I havent been able to put it together in my mind.  How do you make the below code thread safe? What I mean in this case by thread safe, is if i call 10 threads of the below code, will each thread use it's own ProxyServer, ProxyPort?</p>

<pre><code>private static string ProxyServer { get; set; }
    private static int ProxyPort { get; set; }
</code></pre>

<p>Also is the below code thread safe?</p>

<pre><code>private static void GrabcarID(string input)
{
  string CarID = HTMLCarIDProcess(input);

}

        public static string HTMLCarIDProcess(string inputString)
    {

        string returnString = string.Empty;
        if (inputString.Contains("car_id="))
        {
            string[] splittingResultcarID = StringIntManipulation.StringProcessing.MultipleCharacterSplitting(inputString, "car_id=");
            string[] splitCarid = splittingResultcarID[1].Split('&amp;');
            returnString = splitCarid[0];
        }
}
</code></pre>
