From the course: Robotic Process Automation: Tech Primer

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Object-oriented programming demo

Object-oriented programming demo - UiPath Tutorial

From the course: Robotic Process Automation: Tech Primer

Object-oriented programming demo

- [Instructor] Okay, let's have a demo of object oriented programming. Again, I'm not trying to make you an object oriented developer here. I just want to show you some of the most rudimentary concepts so you can have an easier time forming a mental model interacting with the .NET framework and feeling more confident about knowing why we use dots and parenthesis when we're interacting with the .NET framework. So I've got Visual Studio opened. I'll go to File, New, Project, and as usual, I'll select Console App. I'll save it in C development vs. I'll call it oop-demo, and I'll click okay to precede. So as usual, we've got our VB Module, which we could rename if we wanted to. And I've got my main sub-routine here into which I can type Console dot, and then double click on ReadLine like we always do, and make a little space. Up at the top here I'll type in Console.WriteLine again and put a message in here that says, creating a new human object. Because what we're going to do is create a…

Contents