Complete C# Tutorial For Beginners | Arunnachalam Shanmugaraajan | Skillshare
Search

Playback Speed


1.0x


  • 0.5x
  • 0.75x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 1.75x
  • 2x

Complete C# Tutorial For Beginners

teacher avatar Arunnachalam Shanmugaraajan

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Lessons in This Class

    • 1.

      Introduction To C# Course

      0:31

    • 2.

      C# Class 1 : Introduction

      3:28

    • 3.

      C# Class 2 : VSCode

      5:54

    • 4.

      C# Class 3 : Variables

      2:11

    • 5.

      C# Class 4 : Datatype

      3:13

    • 6.

      C# Class 5 : Type Casting

      3:21

    • 7.

      C# Class 6 : User Input

      3:28

    • 8.

      C# Class 7 : Logical Operator

      3:12

    • 9.

      C# Class 8 : If Else

      3:02

    • 10.

      C# Class 9 : While Loop

      3:35

    • 11.

      C# Class 10 : For Loop

      1:35

    • 12.

      C# Class 11 : Break & Continue

      1:22

    • 13.

      C# Class 12 : Array

      4:10

    • 14.

      C# Class 13 : Class & Objects

      2:08

  • --
  • Beginner level
  • Intermediate level
  • Advanced level
  • All levels

Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

8

Students

--

Project

About This Class

Complete C# Tutorial For Beginners

Welcome to the Complete C# Tutorial For Beginners, a comprehensive course designed to introduce you to C#, one of the most versatile and popular programming languages used in web development, game development (with Unity), desktop applications, and more. Whether you're new to programming or looking to expand your skillset, this course will guide you through the core concepts of C# and prepare you to build your own applications.

What You'll Learn:

  • Introduction to C# and .NET: Understand the basics of C# and its role within the .NET framework. Learn how C# fits into the world of modern programming and why it's a go-to language for many developers.

  • Variables, Data Types, and Operators: Get started by learning how to declare and work with variables, data types (integers, floats, strings), and operators to perform calculations and manipulate data.

  • Control Flow in C#: Learn how to use conditional statements (if, else, switch) and loops (for, while) to control the flow of your programs, making them respond dynamically to different inputs.

  • Functions and Methods: Discover how to write reusable code with functions and methods, the building blocks for organizing and structuring your code.

  • Object-Oriented Programming (OOP): Master the principles of OOP in C#, including classes, objects, inheritance, polymorphism, and encapsulation. These concepts will allow you to create more complex and modular applications.

Why Take This Course?

  • Beginner-Friendly: This course is designed with beginners in mind, offering clear and easy-to-understand explanations with hands-on examples to reinforce your learning.

    Versatile Skills: C# is a widely-used language in a variety of fields, from web and desktop development to game development (with Unity). Learning C# will open up a wide range of career opportunities.

Who Should Take This Course?

  • Complete Beginners: No prior programming experience is required, making this course perfect for those starting their coding journey.

  • Aspiring Software Developers: Whether you're interested in web development, desktop applications, or game development, C# is a great language to learn.

  • Students and Professionals: Anyone who wants to add C# to their skill set and open up opportunities in tech, whether it's for career advancement or personal projects.

By the end of this course, you'll have a solid grasp of C# fundamentals and be able to create your own basic applications.

Meet Your Teacher

Hi I am Arunnachalam R S From India. I am a computer science student and I have choosen cybersecurity as my profession. I am youtube content Creater and i teach people about the latest technology and new softwares and I am big cricket fan of MS Dhoni. I can help people with my experienced knowledge about the technology. I am choosing Skillshare to show my passion towards technology and Science..

See full profile

Level: Beginner

Class Ratings

Expectations Met?
    Exceeded!
  • 0%
  • Yes
  • 0%
  • Somewhat
  • 0%
  • Not really
  • 0%

Why Join Skillshare?

Take award-winning Skillshare Original Classes

Each class has short lessons, hands-on projects

Your membership supports Skillshare teachers

Learn From Anywhere

Take classes on the go with the Skillshare app. Stream or download to watch on the plane, the subway, or wherever you learn best.

Transcripts

1. Introduction To C# Course: Welcome everyone to the complete beginner course of CSR programming language. This course consists of different classes. We are going to discuss about the concepts like how to run CSR program in Visual Studio code, and also we are going to discuss about variables, data types, conditional statement, loops, class and object in CSR programming language. So this course is very, very useful for the beginners who are trying to learn CSR programming language for the first time. So let's get started. 2. C# Class 1 : Introduction: Welcome everyone to the first class. In today's class, we're going to discuss about introduction to CSR Programming language. So CSRP is a modern object oriented programming language developed by Microsoft. You need to know that CSR was developed by Microsoft. So CSR is an easy to learn programming language for developers who are already proficient in languages like C C plus plus, and Java. CSR programs can be facilitated across several platforms. You can use CSAPPgramming languages for Windows, Linux, MacOS, and.net. So this is the introduction to CSRP. So after that, we are going to discuss about advantages of CSRP. So the first advantage is community support. So CSRP has a large community which can provide documentation, resources and support. So that's the first advantage. So the second one is the tools and libraries. So CSRP is mostly backed by the dotnet framework, providing access to wide range of tools and libraries. So CSAP libraries and tools were provided by Dt net. At last, you can see the advantage that is security. So if you use CSR programming language, the code is more secure than other programming languages. So these are all the advantages of CSR. So after that, we are going to discuss about the disadvantages of CSRP. So the first one is the platform dependency. So CSRP is primarily designed for microsoft.net framework. So it will be limited to that framework. And then second disadvantage is nothing, but the CSAR syntax is more complex than other programming languages. And then third disadvantage is nothing, but the license fees and restrictions are more in CSR programming language, which was created by Microsoft. Then you can see the fourth disadvantage performance over so if you want to run the CSR program in your Windows, you need to download the.net framework. After that, you can run the CSR program. So these are all the disadvantages of CSR. So after that, we are going to discuss about what are all the applications that can be created using CSR. So the first one is the desktop applications. You can create desktop applications using CSRP, and then mobile applications. Nowadays, more video games are created using the CSR programming language. And then you can see the last application that is web applications. You can use CSR programming for creating web publications and web services. So these are all the applications that can be created using CSR. What are all the job opportunities that can be achieved when you learn CSR programming language. So the first one is the game development, and then second is the web development, and then you can see the last that is desktop application developer. So if you learn CSR, you can achieve these jobs. So that's it, guys. In today's class, we are discussed about complete introduction to CSR programming language. In the upcoming class, we are going to discuss about how to run the CSR programming language in VS code. 3. C# Class 2 : VSCode: Everyone. In today's class, we are going to discuss about how to run CSR program in Visual Studio code. Also, you can see other ID for running the CSR program. You can see the ID like Visual Studio and also you can see Visual Studio code, write Eclipse atm. But we are going to use Visual Studio code for running the CSR program. So you need to download the Visual Studio code, so you have to open the website, and then you have to select Download for Windows. After that, you need to install the Visual Studio code for running the CSR program. After that, if you want to run CSR program in Resource Studio Core, you need to download.net. After that, only you can run CSR program. So you need to open the Microsoft website, pf. That is.net pA. So you can see the download option. So after the download is completed, you need to install.net for your computer. So if the installation is completed, you need to open Command Prompt. In that, you have to type.net. So you can see the output. So if you want to find the info, you have to type dotnet hyphen hyphen VersN so you can see the son 8.0. So we have successfully installed Dart net for our Windows. So now you have to create a folder for your CSR program, and then you have to open that folder with VS code. So after that, you need to install some of the CSR extension. For that, you have to open stool sudiocde extension in that you have to type CSR. So you have to install only the verified extension. So after installing the extension, you have to create new file for your CSR program. For that you have to open the terminal. So in the terminal, you have to type this command. You have to type.net, New Console hyphen O, that is nothing but output app. So you have to run that code. So after that, you can see new file is created for your CSR program. So in that, we are going to run our CSR program. So now we are going to discuss about how to run our first CSR program in Usual Studio code. So far that we are going to discuss about the syntax. First, you need to type using system. So this will contain all the libraries, all the classes, whatever you need. I will present in the system. And then you need to create name space. You have to type the name space name and going to type sample. So inside the curly bracket, you need to create class. So you have to type the keyword class. And then you need to type the name of the file. So that is program. So you have to type program. So then you need to type main function. Inside the class, you need to type main function. S how to type static void main, so main will be capital, and then you have to type string argument. So inside the main function, we are going to print the output. So you have to type, Console, dot, right line for writing the string. So you have to type Console dot, right line of inside that, you need to type the string, that is hello. So after that, you need to run the code. For that, you need to select the terminal. So in the terminal, you need to change the directory. So you have to change the directory to your app folder. You have to type CD app. So inside that you have to type.net run. So it will print the output. So you can see the output. Hello. Hello is printed successfully. So this is how you can run CSR program in Visual Studio code. So now we are going to change some settings for running the CSR program without using the terminal. So you have to open the settings. In that, you have to select user setting JS on file. You how to search for code runner extension. In that to search in that To to search code runner dot executor Map. Before that, you need to install the code runner. So to type code runner, and then you have to install the package. So after installing the code runner extension, you have to type code runner dot executor map. So it will print the output. So in the output, you have to search for CSRP. So you have to search for CSR. After that, you need to type this command. First, you need to change the directory to your app folder, and you have to run the file using the.net run. So this is the command for running your CSR program in Visual Studio code using the code runner. So after typing the command, you need to save the file and run the code. So you can see the output Hello, is successfully printed. So that's it, guys. In today's class we are discussed about how to run the CSR program in Visual Studio 4. C# Class 3 : Variables: Everyone though the second class in today's class, we are going to discuss about variables in CSR. So variables are nothing, but it is a container which is those data value. So that's the concept of variables. So we are going to see an example how to create variables in CSR. So before that, you need to type the syntax, that's the default syntax. So first, you need to type using system, you have to type using system. And then you need to type name space. You have to type the name space name. Inside that, you need to create a class. So class can be your file name. That is program. So inside the class, you need to create main function. So you have to type static void main of string argument. So inside the curly brackets, we are going to discuss how to create variables in CSR. Before creating your variable, you need to type the data type. So the data type can be int flowed character Austin. So you need to type the data type first, and then you need to type the variable name. You can type your own variable name. I'm going to type A equal toic ten. So A is a variable which contains the value ten. So this is how you can create variables in Csr. So after that, you need to print the variables by using the console dot right line function. So inside that, you need to type the variable name. That is A, you need to run the code, so you have to right click and then you have to select Run Code. So you can see the output ten. So this is how you can create variables in CSR. Also, you can run like this dotnet run. So there are two methods you can select any one of them by typing the command or changing the settings. 5. C# Class 4 : Datatype: Me, everyone. In today's class, we are going to discuss about data types in CSR. So there are many data types like integer, character, float, double string, boolean. So we are going to see an example for the data types one by one. So before that, you need to type the default syntax. First, you need to type using system, to type using system. So, will be capital. And then you need to type the name space inside the curly brackets, you need to type the class. So class can be your program. So you have to type class program. So after that, you need to create main function. So inside that, you have to type static void main of string ARGs. That is argument. So inside the main function, we are going to see the example for the data types. First, we are going to create integer data type for that into type int A cult ten. So after that, we are going to create the second data type that is float, float D 20.4. So you need to type F. So far float, you need to type the specifier F. And then we are going to create the third data type that is character. Character C equal to A. So you need to type the single quotation. And then we are going to see the fourth data type that is string. So you need to type string double quotation. You can type your own string. I'm going to type Hala world. So after that, we are going to create the fifth data type that is F equal to. You need to type the point value. That is the decimal value. You need to type 30.555. So float is farther, smaller decimal value, and is for larger decimal value. So after that, if you want to print the variables, you need to type console dot right line. So it will print the output. Inside the bracket, you need to type A. So after that, we are going to print the values for all the variables. So you need to change the values, B, and then C, so C is nothing but character. And then D, D is for the string, and then F for double. So you need to run the code, so you can see the output. Ten, 20.4, A, halo world, and 30.55. So ten is integer, 20.4 is the float, and then A is for character, halo world is for string. So 30.555 is nothing but double. So this is how you can create data type in CSR programming language. 6. C# Class 5 : Type Casting: Everyone. In today's class, we are going to discuss about typecasting in CSR programming language. So there are two types. The first one is the implicit and second one is the explicit. So implicit is nothing, but we are going to convert the smaller data type to larger data type. So that's the implicit. And then explicit is nothing, but larger data type, to smaller datatype for implicit, it will be automatically converted in the CSR programming language. For explicit, you need to type the manual code for converting from larger data type to smaller datatype. So you need to know about the order of the size of the data type. The character is very small, and then int and then long and then flowed and then double and then string and boolean. So first, we are going to discuss about implicit typecasting in CSR programming language. Before that, you need to type the default syntax. So you need to type using system, and then you need to type the name space Inside that, you need to take the class, and then you have to type the name of the class that is program. So inside the class, we need to create main function. You have to type static void, main, off, string, argument. So first, we are going to discuss about implicit data conversant. So we are going to convert in smaller data type to float, larger data type. So you have to type float B equal to A. For implicit, it is an automatic data conversant. You don't need to type the code. Simply, we need to type B equal to A. It will convert from int to float. So that's the concept of implicit conversant. And then you need to print the variables. You have to type Console dot right line of Inside that you need to type A, and then you need to type the float. To type B. So you need to run the code. You can see the output ten and ten. So after that, we are going to discuss about explicit data conversant. So we are going to convert float larger data type to in smaller data type. So for that explicit, you need to type manual code. So we are going to see an example. First, you need to type float value, float A, equal type 10.4, four, four. And then you need to type the specifier F. So after that, we are going to convert that float into integer. So you have to type int, B equal to. So inside the bracket, you need to type the data type. We are going to type in, and then you need to type the value of the float. That is A. So for explicit conversant, you need to type manual code. After that, you need to run the code, you can see the output 10.44 and then ten. So float value is converted to integer value. So that's it, guys. In today's class we are discussed about type casting in CSR programming language. So there are two types implicit and explicit. 7. C# Class 6 : User Input: Welcome everyone. In today's class, we are going to discuss about how to get user input in CSR programming language. So far then we are going to see an example. So you need to type the basic syntax. You need to type using system. And then you have to type the name space. So inside the name space, you need to type the class. So you have to type the class, and then you need to type static void, main, off, string, argument. So inside the main function, we need to create user input. For that, you need to type Console dot write line. I will ask the input as string. So inside the quotation, you need to type your string. I'm going to type Enter rever Name. We are going to ask name from the user. So after that, you need to create string for reading the output, you have to type string A equal t. So you need to type Console dot read line off. It will read the input. And then you need to print the output. For that, you need to type, Console dart, write line of. Inside that, you need to type the string. After that, you need to run the code. So you can see the output. Enter your name. So you need to type your name. You can see the output RN successfully returned. Then we are going to ask the integer from the user for that you need to change the string, enter your number. And then you need to convert the string to integer. String is a larger data type in Tel smaller data type. For that you need to use explicit conversant. For explicit conversant, you need to use manual code. So you need to type the code for converting the string to integer to type convert dot two Int, you can select 32, 16 or 64. You can select any one of them. Also, you can see the other methods. I'm going to select It tatty two off. Inside that, you need to read the output. So this is how you can convert the string to integer data type using the explicit conversant. So you have to remember the function convert dot two in tatty two. So after that, you need to run the code. So you can see the output, asking the number. So you need to type the number. I'm going to type. You can see the output returned. So that's it, guys. In today's class, we are discussed about how to ask the user input in CS programming language. 8. C# Class 7 : Logical Operator: Welcome, everyone. In today's class, we are going to discuss about logical operators in CSR programming. So there are three logical operators and are not. So we're going to see an example. First, you need to type the basic syntax, see how to type name space, and then you have to type the name space name. So inside that, you need to create class. You have to type the class name, and then you need to create main function. To type static void main of string argument. So inside the main function, we are going to create two variables. So you need to type int A equal to ten, and then Int B equal to five. So after that, we are going to discuss about and logical operator. So you need to type console dart, we line, and then you have to type A, greater than B, you need to type minimum two condition. A less than B, A greater than B and A less than B. In ological operator, both condition must be true. If any one of the condition is false, then the output will so falls. That's the concept of ological operator. So you can see the output falls because one condition is not satisfied. A is greater than B, but A is not less than B. That's why the output source falls. So after that, we are going to discuss about our logical operator for that you need to change the symbol to our logical operator. In our logical operator, any one condition must be true. Then the output will so true. If both conditions are false, then the output source false. You can see the output true because one condition is satisfied, A is greater than B, then the output will so true. So after that, we are going to discuss about the last logical operator that is naught. So how to type console dot write line of. Inside that, we are going to use the naught logical operator with logical operator. You need to type the symbol naught, and then you need to condition for ilogical operator. So in nut, it will reverse the output. We know that the dilogicalopertor output will so falls, but in naught, it will reverse the output from false to true. So you need to run the code, so you can see the output. False. We know that unlogical operator will produce false output, but the knot will reverse the output from false to true. That's it, guys. In today's class, we discussed about logical operators in CSR programming language. 9. C# Class 8 : If Else: Welcome, everyone. In today's class, we are going to discuss about IFs conditional statement in C our programming language. For that, you need to type the syntax. You need to type the basic syntax, and then you need to type the name space sample. So inside the namespace, you need to create class. So you have to type the class name that is program. So after that, you need to create main function, static void main off string arts argument. So after that, you need to create variables. So you have to type Int A equal to ten, and then Int B equal five. So first, we are going to discuss about if conditional statement for that you need to type the keyword, if and then you need to type the condition. A is greater than B. Is if you need to type the code, that is, we are going to print the output. We need to print console dot right line of A is greater than B. So if the condition is satisfied, then it will print A is greater than B. So if the if condition is n satisfied, you need to create another conditional statement that is LCF. So LCF also contains condition. You need to type the condition. A is equal to equal to B. And then you need to print the output console dart right line of inside that I need to type A is equal to B. So if two conditions are not satisfied, we are going to print else. So s will print the code, Console we line of B is greater than A. So this is how you can create conditional statement in CSR programming language. So this is the syntax. So we just created two values. We know that A value is greater than B value. And then if condition will be satisfied, it will print the output. A is greater than B. So you have to see the output, A is greater than B. So if I change the code, a 210 B 210 and run the code again, you can see the output. A is equal to equal to B. Because se if condition is satisfied, it will print the output A is equal to B. So if I change the value to zero and run the code, you can see the output. B is greater than A. Ls condition is satisfied, it will print the output. B is greater than A. So this is how you can create conditional statement in Cs are programming language. 10. C# Class 9 : While Loop: Welcome everyone. In today's class, we are going to discuss about loops in Cs are programming language. So loops are very, very important in programming language. For example, if I want to print ha world for more than ten times for default, I'm going to type consult right line of Hala world, hala world, hala world for ten times. For this problem, the loops are introduced in programming language. So loops are based on some condition. If the condition is satisfied, it will print the output. So first, we are going to discuss about why loop so you need to type the syntax, how to type name space, and then how to type sample. You can type your own namespace, and then you need to type the class program. After that, you need to create main function, static, wide, main of string argument. So inside the main function, you need to create the variable for hello or halo world. So we are going to create string data type variable. So you need to type string A equal T, Quotation. You need to type hello world. We are going to print Hala world for ten times. So then you need to type the starting value for the loop. So you have to type in I equal t zero or one. You can type your own starting value. And then you need to type the il. So that's the keyword. So inside the le you need to type the condition. The condition is very, very important. So the condition is I lest are equal to ten. So if the condition is satisfied, the wild loop will print the output. So we need to print halo world for ten times. For that, you need to type console dot, right line of. You need to type the variable. A, it will print the Hala world for ten times. For printing the hala world ten times, you need to increment the value one by one. For that, you need to type I plus plus. So it will print the value one by one. Whenever the condition is satisfied, it will print the hala world one by one. So the condition is one less than or equal to ten. Yes, the condition is satisfied. It will print the hala world one time. After that, the value will be incremented to two less than or equal to ten. The condition is satisfied. It will print the hala world for the second time. Then the value will be incremental to three to ten, the condition is satisfied. When the value of ten becomes love one, the condition is not satisfied because oven is not less than ten. Then the loop will be exit. So this is the concept for loops in programming language. So you need to run the code, so you can see the output. Hala world is printed ten times. Based on the condition, it will print the halo world. So that's it, guys. In today's class, we discussed about why look in C is our programming language. 11. C# Class 10 : For Loop: Come, everyone. In today's class, we are going to discuss about far loop PCs or programming language. For that, we are going to see an example how to print halo world for ten times using the far loop. So first, you need to create the string string A cult Hala world. After that, you need to print par loop, you have to type four in I equal to one. That's the starting value, and then you need to type the condition I less than equal to ten, and then you need to type the increment I plus plus. So if the condition is satisfied, then the far loop will print the hal world. So the condition is one less than or equal to ten. The condition is satisfied, then the value will be incremented. Whenever the condition is satisfied, the value will be incremented one by one. So after that, we are going to print the Hala world for the ton to type console dot write line of A. So that's the variable for printing the hala world. So you need to run the code. So you can see the output, Hala world is printed ten times using the far loop. So this is how you can use far loop Pisa programming language. 12. C# Class 11 : Break & Continue: Well, so everyone, in today's class we are going to discuss about break and continue in Csr programming language. So break is nothing, but it will exit the loop when the condition is satisfied. The continue is nothing, but it will skip the particular value in the loop when the condition is satisfied. So we are going to see an example using the far loop. So you need to type the syntax for the far loop, and then you need to type the I condition. So if the value of I becomes Phi, then we will break the loop. Using the brake condition. So you need to run the code, so you can see the output. 1234. When the value of I becomes five, it will exit the loop. So after that, we are going to discuss about continue and then run the code. So you can see the output, one, two, three, four, six, seven, eight, nine, ten. You cannot see the value five because it will be skipped in the loop using the continue. So that's how you can use break and continue in CSR programming language. So break will exit the loop when the condition is satisfied. And continue will skip the particular value in the loop when the condition is satisfied. 13. C# Class 12 : Array: Welcome everyone. In today's class, we are going to discuss about RA in CSR programming language. RA is data type, which is those element. So for that we are going to see an example how to create RA in CSR. Before that, you need to type this basic syntax. You need to type the class and then you need to type the name of the class that is program. Inside the program, you need to type main function static void of string ARGs. So inside the main function, we are going to discuss how to create array. So you need to type the data type, and then you need to type the array name, square bracket equal to curly brackets, inside the curly brackets, you need to type the value. Ten, 20, 40 and 50. This is how you can create RA in CSR programming language. So this is the syntax. First, you need to type the data type, and then array name. So inside the carrel brackets, you need to type the elements. So after that we are going to create the second array that is string array. So you have to type string and then value inside the curly brackets, you need to type the value hello and then world. So this is how you can create string array in Csr. So after that, we are going to create character array. You have to type the variable equality. You need to type single quotation, A, B, and C. The array is based on the index posision concept. So if you want to access any element in the array, you need to know about the index. So the index start from zero up to the element of array value. So zero, one, two, three. So ten is the zero index, 20 is the first index, 40 is the second index, and 50 is the third index. So if you want to print the single element, you need to type console dot right line of A of zero. You need to type the index posison. That is zero. You need to print ten. So you need to run the code so you can see the output ten. So this is how you can print single element in the array using the index position. So if you want to print all the elements in the array, you can use loops. For that, we are going to discuss about each loop for array. So you need to type for each. So that's the syntax. And then you need to type the bracket inside the bracket, you need to type the string I, so that's the I rating value in you need to type the array name. I'm going to type B, and then you need to type curly brackets. Inside that you need to print the value, Consolat right line of I. So this is the syntax for for each loop. So it will print the elements one by one. So first, you need to type the keyword, that is for each. And then you need to type the data type, that is string. We are going to print the string array, and then you need to type the Irating value, I and then IN membership then value. That is B. So then you need to print the I trating variable. I. You need to run the code, so you can see the output, hello, and world. So you can see the three output, that is the previous output. So this is how you can use RA in CsrPgramming language. 14. C# Class 13 : Class & Objects: Why everyone. In today's class, we are going to discuss about class and object in Cs are programming language. So class and object are nothing but object oriented programming language. So we need to type the basic syntax first, first, you need to type using system, and then you need to type the name space. So inside the name space, you need to create class program. So program can be your file name. So inside that I'm going to create variable, string variable, string A, cult color world. So after that, I'm going to create main function. So you have to type static, hide, main of string, argument. So inside the main function, I'm going to create object for the class. First, the indian to type class name and then object equal to Nu and then class name off. So this is how you can create object in CSR programming language. So first, the indian to type the class name and then object. NU will create new object. Program off is nothing but default constructor. So using the object, we are going to print the string. So you need to type Console dot write line of OB dt. That's the object. Object dot A. So it will print the hal world. So you need to run the code, so you can see the output halo world. This is how you can create class and object in Cs are programming language.