c# - In-Memory Table Data structure -
i build in-memory table data structure 4 columns can values based on combination of columns (using linq example). there built-in data type or have craft 1 myself (obviously can't)?
unless have specific in mind, declare type 4 properties suitable names , types, i.e.
public class somethingsuitable { public int foo {get;set;} public string bar {get;set;} public datetime blap {get;set;} public float blip {get;set;} }
and use list/array/dictionary etc necessary, or
data.single(x => x.bar == "abc");
etc.
Comments
Post a Comment