parent
0b6f90caf7
commit
f223aa56a7
3 changed files with 11 additions and 3 deletions
@ -1,4 +1,4 @@ |
||||
project('simple c#', 'cs') |
||||
|
||||
e = executable('prog', 'prog.cs', install : true) |
||||
e = executable('prog', 'prog.cs', 'text.cs', install : true) |
||||
test('basic', e) |
||||
|
@ -1,7 +1,8 @@ |
||||
using System; |
||||
|
||||
|
||||
public class Prog { |
||||
static public void Main () { |
||||
Console.WriteLine("C# is working."); |
||||
TextGetter tg = new TextGetter(); |
||||
Console.WriteLine(tg.getText()); |
||||
} |
||||
} |
||||
|
@ -0,0 +1,7 @@ |
||||
using System; |
||||
|
||||
public class TextGetter { |
||||
public String getText() { |
||||
return "C# is working."; |
||||
} |
||||
} |
Loading…
Reference in new issue