Using Class Constructors in C#

Published: 03 December 2022
on channel: Tomaz Saraiva
217
6

In this video about Object-Oriented Programming (OOP) in C#, we'll see what is a class Constructor in csharp and how we can create our own constructors with multiple arguments to initialize instance fields.

TIMESTAMPS
00:05 What is a C# Constructor?
00:20 How to call a c-sharp constructor
00:50 How to use a Constructor to set initial values
01:10 How to declare custom C# constructors
01:50 Calling other constructors using this
02:30 Using c# constructor arguments

* *

Check these videos about topics talked in the video:
Classes and Objects |    • Understanding Classes and Objects in C#  
Fields and Access Modifiers |    • Using Fields and Access Modifiers in C# Cl...  
Methods |    • How to use Methods in C# classes: The Fund...  

* *

RESOURCES
Constructors Overview (C# Programming Guide) | https://learn.microsoft.com/en-us/dot...
Using Constructors (C# Programming Guide) | https://learn.microsoft.com/en-us/dot...

* *

#csharp, #learnprogramming, #devlife

* *

ABOUT MY CHANNEL
My idea for this channel is to share my journey as a software developer.

I've been working as a developer for close to 10 years now. So although coming into this quite late I thought that I should give it a try anyway.

And what can you expect to see in this channel?
Mostly, game development tutorials where I recreate retro games using current engines. I'm thinking about starting with Scratch and Stencyl and going all the way to Unity and Unreal.

And in between these videos, I'll be posting some other projects that I'm working on. Mobile app development with Flutter, mobile games with Unity among others.

Check out my channel here:
   / tomazsaraiva  

Don’t forget to subscribe!

CHECK OUT MY PLAYLISTS
Space Invaders in Scratch
   • Space Invaders in Scratch  

Frogger in Stencyl
   • Frogger in Stencyl  

C# Programming: The Fundamentals
   • C# Programming: The Fundamentals  

Odds and Evens in C#
   • Odds and Evens in C#  

Object-Oriented Programming in C#
   • Object-Oriented Programming (OOP) in C#  

FIND ME AT
https://tomazsaraiva.com

GET IN TOUCH
Contact me at me@tomazsaraiva.com

FOLLOW ME ON SOCIAL MEDIA
Get updates or reach out on my social media profiles!
Instagram |   / tomazsaraiva  
Facebook |   / tomazsaraiva  
Twitter |   / tomazsaraiva  
Reddit |   / tomazsaraiva  
LinkedIn |   / tomazsaraiva  
GitHub | https://github.com/tomazsaraiva


On this page of the site you can watch the video online Using Class Constructors in C# with a duration of hours minute second in good quality, which was uploaded by the user Tomaz Saraiva 03 December 2022, share the link with friends and acquaintances, this video has already been watched 217 times on youtube and it was liked by 6 viewers. Enjoy your viewing!