a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
264 B
C#
20 lines
264 B
C#
// CS0165: Use of unassigned local variable `service'
|
|
// 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);
|
|
}
|
|
}
|