I made a simple Window object that declared a simple list in C# code:

Code:
List<int> list = new List<int>();

        public Window1()
        {
            InitializeComponent();

            list.Add(2);
            list.Add(3);
        }
How to bind to 'list' object in XAML? I tried something like this:
Code:
<ListBox Name="lb" ItemsSource="{Binding Source={StaticResource list}}">
            
        </ListBox>
But obviously I does not work. How to solve that?

Thank you for help in advance