C# Tutorial For Beginners 2024 - 11. Class

  Рет қаралды 732

Teddy Smith

Teddy Smith

2 ай бұрын

C# Tutorial For Beginners 2024 - 11. Class
Github repo for project: github.com/teddysmithdev/CSha...
Twitter: / teddysmithdev
Github: github.com/teddysmithdev
Linkedin: / teddy-smith-015ba61a3

Пікірлер: 3
@untalentedwebdev
@untalentedwebdev 2 ай бұрын
After building using function components with react for so long, I've completely forgot how classes work so I'm here to relearn haha. I like how you also show whats actually happening with the compilers too.
@TeddySmithDev
@TeddySmithDev 2 ай бұрын
React components confusing af compared to classes.
@kvelez
@kvelez Ай бұрын
var animal = new Animal("Rex", "Dog", 5); animal.PrintAnimal(); animal.animalAge = 10; animal.PrintAnimal(); Console.WriteLine(animal.animalName); animal.animalType = ""; animal.PrintAnimal(); public class Animal { public string animalName { get; set; } public string animalType { get; set; } public int animalAge { get; set; } public Animal(string name, string type, int age) { animalName = name; animalType = type; animalAge = age; } public void PrintAnimal() { Console.WriteLine("Name: " + animalName); Console.WriteLine("Type: " + animalType); Console.WriteLine("Age: " + animalAge); } }
C# Tutorial For Beginners 2024 - 12. Methods
11:17
Teddy Smith
Рет қаралды 681
狼来了的故事你们听过吗?#天使 #小丑 #超人不会飞
00:42
超人不会飞
Рет қаралды 64 МЛН
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 33 МЛН
C# Tutorial For Beginners 2024 - 15. Constructor
7:03
Teddy Smith
Рет қаралды 642
C# Tutorial For Beginners 2024 - 18. Records
14:38
Teddy Smith
Рет қаралды 635
Let's Create a Compiler (Pt.1)
1:11:03
Pixeled
Рет қаралды 466 М.
C# Tutorial For Beginners 2024 - 16. Static
7:23
Teddy Smith
Рет қаралды 620
Generics: The most intimidating TypeScript feature
18:19
Matt Pocock
Рет қаралды 161 М.
So You Think You Know Git Part 2 - DevWorld 2024
23:02
GitButler
Рет қаралды 67 М.
The Blazor Competitor is Here!
15:08
Nick Chapsas
Рет қаралды 27 М.
C# Tutorial For Beginners 2024 - 13. Tuple
5:15
Teddy Smith
Рет қаралды 847
C# Tutorial For Beginners 2024 - 10. While
7:01
Teddy Smith
Рет қаралды 690
My Baby Play Daily Vlog, My Father Is My Hero #Han Sinh #Shorts
0:12
One Pack Of Pringles Contained M&M's And Coca-Cola🤪😃
0:43
BorisKateFamily
Рет қаралды 3,9 МЛН
My cats decided to teach me a lesson #cat #cats
0:17
Prince Tom
Рет қаралды 12 МЛН
Backstage 🤫 tutorial #elsarca #tiktok
0:13
Elsa Arca
Рет қаралды 4,9 МЛН