Quick StartΒΆ

Following is the example of a C# code:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
public class Account : IAggregateRoot<int>
{
 public virtual int Id { get; set; }

 public virtual string Name { get; set; }

 public virtual string Email { get; set; }

 public virtual List<AccountProperty> Properties { get; set; }

 public Account()
 {
  this.Properties = new List<AccountProperty>();
 }
}

Above code simply shows the model of an Account object.

Following is the code read from an external file:

1
2
3
4
5
6
#include <iostream>

int main()
{
	std::cout << "Hello, world!\n" << endl;
}