Dynamically create controls

Hi all.
How to dynamically create GH controls and add their to work space?
python, C# ?where to see an example?
For example need to add “Number slider”…