THEENK
THEENK
  • Видео 20
  • Просмотров 40 955
C# Three Ways To Return A Variable
What is a function vs a method? What are three good basic ways to return a value?
Просмотров: 468

Видео

C Sharp Custom Throw
Просмотров 354 года назад
C# - Simple explanation of how to throw an error and pass extra information.
C# ForEach vs index
Просмотров 2974 года назад
How to loop through an array with and without an index
C# Split - Split Function
Просмотров 1,3 тыс.4 года назад
How to split a string in C#. How to split on multiple characters.
C# GetEnumerator - Introduction
Просмотров 2,8 тыс.5 лет назад
Get a basic tutorial on using GetEnumerator with a List.
C# LINKED LIST - INTRODUCTION
Просмотров 6 тыс.5 лет назад
Learn how to make a Linked List in C# - Easy.
C# - DEPENDENCY INJECTION - Constructor
Просмотров 7 тыс.5 лет назад
Learn how to do dependency injection in a constructor.
WINDOWS TRICKS I USE EVERY DAY
Просмотров 545 лет назад
Learn a few tricks for Microsoft Windows to help your productivity.
C# DELEGATE WITH CALLBACK
Просмотров 21 тыс.5 лет назад
Learn how to make a C# delegate with a callback.
C# PRIVATE ACCESS MODIFIERS
Просмотров 975 лет назад
An introduction to Private Access Modifiers.
C# INDEXERS Lesson 1
Просмотров 4445 лет назад
Learn how to make an Indexer in C#- Easy
C# GENERIC Lesson 1
Просмотров 615 лет назад
Make and understand what C# Generics are...
HTML TABLE - Lesson 1
Просмотров 325 лет назад
Learn how to make a table in HTML using notepad.
JSON - Lesson 1
Просмотров 455 лет назад
An introduction to JSON by understanding how string arrays work.
C# - AJAX with WebAPI - LESSON 1
Просмотров 3355 лет назад
Build your first AJAX function with a call to WebAPI
JavaScript C# Functions Lesson 1
Просмотров 645 лет назад
JavaScript C# Functions Lesson 1
C# Console Application - Lesson 1
Просмотров 1445 лет назад
C# Console Application - Lesson 1
C# WebAPI Lesson 1
Просмотров 545 лет назад
C# WebAPI Lesson 1
C# INTERFACE - LESSON 1
Просмотров 565 лет назад
C# INTERFACE - LESSON 1
C# Abstract Class - Make Your First Abstract Class
Просмотров 1955 лет назад
C# Abstract Class - Make Your First Abstract Class

Комментарии

  • @rajsagar462
    @rajsagar462 3 месяца назад

    Very nice explanation thank you

  • @MuraliTalks12
    @MuraliTalks12 4 месяца назад

    very good explanation Sir

  • @incaseyoumissedit9253
    @incaseyoumissedit9253 11 месяцев назад

    Why .net core?

    • @THEENK
      @THEENK 10 месяцев назад

      .net core is popular for business and a lot of legacy systems use it. And it does require a large install

  • @jespinalny
    @jespinalny Год назад

    January 2023 and still AMAZING. WOW

  • @shvideo1
    @shvideo1 Год назад

    Great practical introduction. Traversing backwards would have been nice to show as well. Thank you for putting this video together.

  • @mostafasholkany3693
    @mostafasholkany3693 2 года назад

    Thank you for a very good and simple explanation

  • @allashama
    @allashama 2 года назад

    Hello, What about using Return for If (Game.IsLoading) { return; } so if the game is loading, it return to block the flow to conitnue to read the code, since the Game.IsLoading() So we have to wait the end of the Game.IsLoading to continue to read the Script. is it working like that?

  • @timiogundipe4684
    @timiogundipe4684 2 года назад

    It would have been great if you could've elaborated on calling methods that add the cargo to the LL

  • @phoenicia92
    @phoenicia92 2 года назад

    Whew thanks for this. Tried studying this from a book I've been using to learn C# and their example and explanation was so much more complex. This was great, appreciate you taking the time to share!

    • @THEENK
      @THEENK 2 года назад

      Thanks - feel free with any questions - Thanks Elliot

  • @fingerfighters9999
    @fingerfighters9999 2 года назад

    There is no difference in output with or without callback? So what's really happening? Is it just theory to understand that using delegate, our compiler will be doing other tasks rather than just waiting for a task to complete?

  • @trustingod0
    @trustingod0 2 года назад

    I think if you could explain Interfaces and why they are used it would help with your overall introduction of dependency injection. Dependency Injection is a very complex topic that involves a lot of other concepts which makes using DI powerful that deserve to be touched on so that people can have a really good understanding and use of DI rather than just illustrating the mechanics of the code. Its just not a 15 minute video and we owe more to developers that are trying to learn how to apply this new powerful design pattern that inplements IoC. We owe them more than this. The best way I can explain it would be that using an Interface along with DI you are creating a paradigm that allows objects to directly talk to each other.

    • @THEENK
      @THEENK 2 года назад

      Thanks... there are a lot of parts- so I had to start somewhere to explain it

    • @trustingod0
      @trustingod0 2 года назад

      @@THEENK Thanks for understanding my critique. You did an excellent job at explaining the way the code works. I was just saying that I think the reason why so many people don't get their head around it, is like you said there are other moving parts.

    • @THEENK
      @THEENK 2 года назад

      Yes. I guess I was just focusing on the main concept. I'll make more soon!

    • @trustingod0
      @trustingod0 2 года назад

      @@THEENK Thank You !!!

  • @mihaimyh
    @mihaimyh 2 года назад

    Why the delegate needs to be public since it is not being called directly from outside of the class?

  • @HarishKumar-fg7po
    @HarishKumar-fg7po 3 года назад

    Well explained

  • @monkeyburger00
    @monkeyburger00 3 года назад

    good tutorial, but I still don't see the advantage of this pattern, can you elaborate?

    • @Bahanov
      @Bahanov 3 года назад

      Imagine that you have Yes/No UI Window witch you wanna reuse in your app and buttons should do different things every time.So you can call your ShowWindow() function and as a parameters you can pass the addresses(functions) you want to be executed when Yes or No is clicked. Something like this: ShowWindow(OnYesCallback,OnNoCallback)

  • @ConsideraCore
    @ConsideraCore 3 года назад

    Why did you copy and paste almost every little chunk? Makes the video go by slowly when typing it could be much faster.

  • @bruceb85
    @bruceb85 3 года назад

    posting the compiled script in case anyone needs it: using System; namespace myPrivateAccessModifierProj { class Program { static void Main(string[] args) { //new instance of myNames myNames n = new myNames(); string inName = n.GetName; Console.WriteLine(inName); Console.ReadKey(); } } class myNames { private string name = "Joe"; //the public function access the private var ^^ public string GetName { get { return name; } } } }

  • @bruceb85
    @bruceb85 3 года назад

    My notes from the video below: using System; using System.Collections.Generic; namespace myIndexerProj { class Program { static void Main(string[] args) { myAnimals myAnimalList = new myAnimals(); Console.WriteLine(myAnimalList[4].AnimalType + " Type"); Console.ReadKey(); } } public class Animal { public string AnimalType { get; set; } public int Legs { get; set; } } //class to hold the list to index w indexer public class myAnimals { private List<Animal> Animals = new List<Animal>(); //add constructor public myAnimals() { Animals.Add(new Animal { AnimalType = "cat", Legs = 4 }); Animals.Add(new Animal { AnimalType = "bird", Legs = 2 }); } //indexer public Animal this[string inAnimal] { get { foreach (Animal a in Animals) if (a.AnimalType.Equals(inAnimal)) return a; return null; } } public Animal this[int inAnimal] { get { foreach (Animal a in Animals) if (a.Legs.Equals(inAnimal)) return a; return null; } } } }

  • @bruceb85
    @bruceb85 3 года назад

    great example of how to use generics... I added both string and int for testing: using System; namespace myGenericClassProj { class Program { static void Main(string[] args) { myMatchCheck<int> myIntObj1 = new myMatchCheck<int>(); myMatchCheck<string> myStringObj1 = new myMatchCheck<string>(); Console.WriteLine(myIntObj1.myMatchWasFound1(4, 4)); Console.WriteLine(myStringObj1.myMatchWasFound1("cow", "cat")); Console.ReadKey(); } } //<> means generic class myMatchCheck<myData> { public bool myMatchWasFound1(myData Val1, myData Val2) { if (Val1.Equals(Val2)) return true; else return false; } public bool myMatchWasFound2(myData Val1, myData Val2) { if (Val1.Equals(Val2)) return true; else return false; } }

  • @bruceb85
    @bruceb85 3 года назад

    I feel like Neo in the Matrix, now I know basic Json.

  • @bruceb85
    @bruceb85 3 года назад

    great video

  • @bruceb85
    @bruceb85 3 года назад

    amazingly simple, yet effective explanation

  • @bruceb85
    @bruceb85 3 года назад

    very good explanation, easy to understand - please make more videos

  • @mariocamspam72
    @mariocamspam72 3 года назад

    cool

  • @balramanchandran1690
    @balramanchandran1690 3 года назад

    Theen , Thanks to my day , since i went through the tutorial , which helped me to understand the constructor injection so clearly

  • @Alex-by4zv
    @Alex-by4zv 3 года назад

    where's my capital letters?

  • @ianmohlie
    @ianmohlie 3 года назад

    This has been the best explanation I've seen (and I've watched like 10) so thank you and well done!

  • @rameshwargupta
    @rameshwargupta 3 года назад

    Great Explanation!!!!🙏

  • @vishalpatel3885
    @vishalpatel3885 4 года назад

    This is the best explanation I have seen for DI, keep it up.

  • @donfeto7636
    @donfeto7636 4 года назад

    there is a callback in any delegate using begininvoke() which will also make the function run in different thread never the less You did a great work thank you

    • @THEENK
      @THEENK 4 года назад

      Thanks!

  • @manjitsarma8346
    @manjitsarma8346 4 года назад

    Thank you for the video.Finally I understood DI.Thanks for sharing !!

  • @wolframheidenberger6927
    @wolframheidenberger6927 4 года назад

    "The confusion gives you great benefit" - that saved my day :-) - Thx.

  • @utpmahesh444
    @utpmahesh444 4 года назад

    Thank you preparing this video for us.

  • @neilvermeulen5283
    @neilvermeulen5283 4 года назад

    I now understand. Thank you kindly.

  • @nimibgh964
    @nimibgh964 4 года назад

    thanks for the video. one thing, people who look for this king of subjects - know basic things like open new project or console.read....

  • @mdshaheenhossain5369
    @mdshaheenhossain5369 5 лет назад

    Thanks. Please make more videos like this......

    • @THEENK
      @THEENK 5 лет назад

      Hi! Yes. More coming...

    • @THEENK
      @THEENK 5 лет назад

      Thanks!

  • @joandimko3063
    @joandimko3063 5 лет назад

    Good tutorial, but no need to F5 to check syntax. It is done automatically by Visual Studio as you type.

    • @THEENK
      @THEENK 5 лет назад

      Agreed. Didn't say it right. F5 for me makes sure it runs. I like to stay running.

  • @EpicButterz
    @EpicButterz 5 лет назад

    I really wasn't getting how delegates and callbacks worked but your video was simple and easy to understand. Thank you!

    • @THEENK
      @THEENK 5 лет назад

      Thanks! I didn't see your reply until now. Glad it helped.

  • @sclim6726
    @sclim6726 5 лет назад

    so what' s beauty of delegate based callback rather than calling function?

    • @yjhuang4877
      @yjhuang4877 5 лет назад

      when you develop base program or DLL , It would be more flexible than just calling function.