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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -