I am looking for cookbook to c#. Can anybody suggest one?
I am looking for simple exercise something more than Hello World! and less then an OS.
So far I found one with an invoice app. That will probably be ok.
I started reading the book Learning c# 3.0 and I have not done yet and the most crucial question I am interested in how to store data in an application for Example if I want to create a list of items in rhino and each item contains several settings. For example a parametric chair. Chair01 (Legs 350mm, Colour: Red) Char02 (Legs 400mm, Colour: Blue). Will it be an external database? I keep reading and will find it soon.
C# is the ‘easy’ part… It is the rhinocommon API that will take most of your time later on: Learning how Rhino works under the hood, and being able to use it right.
For me all these books never did much good - they were very unintuitive for a beginner. Start with Grasshopper, and then work your way up to c# components. There are tons of examples, snippets and very small ‘working’ nodes that you can tinker with. check the Grasshopper primers: http://www.grasshopper3d.com/page/scripting-and-code-tutorials
Towards the end there are simple scripting examples (vb, not c#, but the idea is the same)
also here: http://designalyze.com/course/intro-c-scripting-grasshopper
And not trying to demotivate, but if you are new to this, you may be able to throw something together that solves your chair problem/idea, but to get to a level where you can produce usable results, it can take years.
Bottom line - start with GH c#, because it is (nearly) the same code as when you write a full plugin, and you can iterate and test the code in seconds, instead of minutes (recompile, restart rhino, run code etc.)
Good luck!
This is a good suggestion. With the GH C# component you can focus on testing the RhinoCommon and GH API, without getting stuck on how to actually make a fully functioning plugin. Think of it as a sandbox where you can play around testing and learning RhinoCommon. After you are comfortable using RhinoCommon and knowing where to find help, you should go through some of the guides on how to compile Rhino Plugins and GH Components.
You are already asking for help in the right place, so if anything comes up while you are using these guides, please let us know here in the Rhino Developer channel!