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

cs0214.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e71b5f53af4e4a995dc1c5f019d2e1a72fe26dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// cs0214.cs : Pointers may only be used in an unsafe context
// Line : 14

using System;
using System.Reflection;

public class Blah {
	
	public static void Main ()
	{
		int* i;
		int foo = 10;
		
		i = &foo;
		
		Console.WriteLine ("The pointer value is " + i);
	}	
}