Add detection of PKGBUILD files as Shell scripts
[geany-mirror.git] / tests / ctags / keyword_const.cs
blob572b7c67c099922f059928f33631c05da1e6ced0
1 // const_keyword.cs
2 // Constants
3 using System;
4 public class ConstTest
6 class MyClass
8 public int x;
9 public int y;
10 public const int c1 = 5;
11 public const int c2 = c1 + 5;
13 public MyClass(int p1, int p2)
15 x = p1;
16 y = p2;
20 public static void Main()
22 MyClass mC = new MyClass(11, 22);
23 Console.WriteLine("x = {0}, y = {1}", mC.x, mC.y);
24 Console.WriteLine("c1 = {0}, c2 = {1}", MyClass.c1, MyClass.c2 );