summaryrefslogtreecommitdiff
path: root/src/csharp/test.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/csharp/test.cs')
-rw-r--r--src/csharp/test.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/csharp/test.cs b/src/csharp/test.cs
new file mode 100644
index 0000000..6a25adc
--- /dev/null
+++ b/src/csharp/test.cs
@@ -0,0 +1,16 @@
+using System;
+
+class MyEvent {
+
+ static void Main() {
+ Console.WriteLine("Hello World!");
+
+ Event myEvent = new Event();
+
+ ContactReference myContactReference = new ContactReference("john.doe@example.org");
+ myContactReference.setName("John Doe");
+
+ myEvent.setOrganizer(myContactReference);
+
+ }
+}