How to get data from observablecollection and display into console application in c#? -
how data observablecollection object , display console application using c#?
example:
observablecollection<classname> object1= method(parameters);
here need print data containing in object1.
since object1 collection, how want print data. assuming want print each object in each line.
(int = 0; < object1.count; i++) { console.writeline(string.concat(object1[i].item1, "---", object1[i].item2) }
Comments
Post a Comment