Updated with review feedback.
[mono.git] / mcs / errors / cs0165-36.cs
1 // CS0165: Use of unassigned local variable `s'
2 // Line: 14
3
4 using System;
5
6 class Program
7 {
8         public static void Main ()
9         {
10                 string s;
11                 object o = null;
12                 while (o != null && string.IsNullOrEmpty (s = (string) o.ToString ())) {
13                 }
14                 
15                 Console.WriteLine (s);
16         }
17 }