I just want to know the expert opinion on something I am planning to do. I have to write a method to determine cost of multiple objects . I can do this in two ways
Make a table with list of items and costs ( so basically I get cost data from a table - aprox 2000 rows & 3 columns) then use LINQ to list of objects
Create a polynomial function to calculate cost of an item ( at lease 10-20 lines of code depend on item)
what is better and faster?