/CS-intro

Introduction to C#, progressive examples

Primary LanguageC#GNU Affero General Public License v3.0AGPL-3.0

gd+erosion

CS-intro

This repository contains the Grasshopper definitions for a progressive introduction to C# in Grasshopper.

usage

Examples work in Grasshopper + Rhino 7. Place Noises.dll in your Grasshopper/Libraries folder (needed for a few examples only).

examples

CS_00_intro.gh - introduction to C# programming in Grasshopper
CS_01_data 01.gh - data types in C# - part 1
CS_02_data 02.gh - data types in C# - part 2 - loops and conditional statements
CS_03_functions.gh - functions in C#
CS_04_0_classes.gh - classes and objects in C#
CS_04_1_Langton's Ant.gh - Langton's Ant algorithm in C#
CS_05_0_gradient descent.gh - gradient descent example in C#
CS_05_1_gradient descent - erosion.gh - gradient descent erosion example in C#
CS_06_delegates + lambda expression.gh - explanation of delegates, anonymous functions and lambda syntax in C#
CS_07_RTree + PointList neighbour search.gh - simple example of nearest neighbours search using RTree data structure and PointList collection
CS_08_using Linq.gh - using LINQ in C# - simple example of Linq query synthax
CS_09_MultiThreading-serialization-GHtypes.gh - Multithreading, serialization and GH Types in C#
CS_10_MultiThreading-Diffusion.gh - Multithreading and diffusion algorithm in a 2D matrix

CS files

Contains the source CS files from the examples.

support files

Contains the support files needed for a couple of examples.

Co-de-iT