From the course: Grasshopper and Rhino: C# Scripting

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Object-oriented programming

Object-oriented programming

From the course: Grasshopper and Rhino: C# Scripting

Start my 1-month free trial

Object-oriented programming

- [Narrator] Before we jump into scripting with C-Sharp, let's have a look at the concept of object-oriented programming to learn how dot notation and classes work. The definition of object-oriented programming is a software programming methodology, which separates software development into different objects containing their own logic. C-Sharp adopts the object-oriented programming concept like most modern programming languages. This concept enables programs to become simpler, as the program can be broken up into different objects, containing their own self contained code and logic. For example, take a piece of software, which is designed to create geometry. When thinking of geometry, we tend to think of ideas associated with geometry, such as points, curves, and cubes. These are all concepts that can be defined by their location in space, distance, or number of sides. It is these ideas that we can use to begin forming…

Contents