Data Oriented Design Patterns

Hello,

Ive been trolling the net for clear simple examples of DOD patterns in C#. Im not looking for Unity ECS specific examples but more a general understanding of the concepts. For example below is a clear explanation on how Composite design patten works, Im trying to find something simular for DOD patterns.

Thanks heaps

public abstract class Component
{
    public abstract void Operation();
}


public class Composite : Component, IEnumerable<Component>
{
    private List<Component> _children = new List<Component>();

    public void AddChild(Component child)
    {
        _children.Add(child);
    }

    public void RemoveChild(Component child)
    {
        _children.Remove(child);
    }

    public Component GetChild(int index)
    {
        return _children[index];
    }

    public override void Operation()
    {
        string message = string.Format("Composite with {0} child(ren).", _children.Count);
        Console.WriteLine(message);
    }

    public IEnumerator<Component> GetEnumerator()
    {
        foreach (Component child in _children)
        yield return child;
    }

    IEnumerator IEnumerable.GetEnumerator()
    {
        return GetEnumerator();
    }
}


public class Leaf : Component
{
    public override void Operation()
    {
        Console.WriteLine("Leaf.");
    }
}

Best I could find so far is this

https://github.com/dbartolini/data-oriented-design

Not exactly what I was looking for but this thread had some view so i thought i would add someting