how to cast list to observablecollection c#

C#
var stringList = new List<string>() {"1","2","3"};
//Use the contructor override to add the list to the new collection
var obStrings = new ObservableCollection<string>(stringList);
Source

Also in C#: