Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0165-8.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f24532fcc21f105d37efa8acd5c6d91700245ce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// CS0165: Use of unassigned local variable `x'
// Line: 17
using System;

public class Foo
{
	static void Main ()
	{
		int service;

		foreach (char b in "hola") {
			Console.WriteLine (b);
			service = 1;
			break;
		}

		Console.WriteLine (service);
	}
}