From the course: Robotic Process Automation: Tech Primer

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Variables demo: Visual Studio

Variables demo: Visual Studio

- [Bryan] Let's first have a look at the basics of variables using Visual Studio, and then we'll go look at UiPath. I'm here in Visual Studio. I'm going to go to File, Recent Projects, and I'm going to grab this simple-app that we created in the previous lectures. We've got some Console.WriteLines in here. And what these are doing is outputting what I call a literal string. These are some characters that I've typed in that it's outputting to the console. To create a variable, I can simply click before any one of these lines, hit Return a couple of times, and click back up here at the top. And I can use the word Dim. It's a verb that says, create a space in the local computer's memory of a certain dimension for this variable. So similar to what I described in the previous video, I'll say Dim CustomerFirstName, so that's the name of my bucket. And with VB.Net, I have to use the word As. So you can see when I hit the Space, it's actually prompting me for this and showing me how to do it.…

Contents