tubeshowcase●1,361,587 videos♡ My collection 0
← Learn to Code

Learn to Code1:56:55

Learn C# with CSharpFritz - Ep 3: C# Methods, Events, and Delegates for Beginners

dotnet ↗

From the creator

This is episode 3 of C# with CSharpFritz and Jeff walks through methods, events, and delegates in this beginner-friendly episode. Interactive Notebook with samples you can run IN BROWSER at: https://aka.ms/csharpfritz_notebooks_2020 After the C# basics sessions are completed, which user interface framework do you want Fritz to walk through FIRST? Vote for your favorite with an emote at: https://github.com/csharpfritz/csharp_with_csharpfritz/issues/13 Questions: 25:51 - Is it considered bad practice to use a nested class? 39:20 - When writing methods, is it a rule that they do one thing and one thing only? 42:15 - How do you create a method with a 'real' optional value? 44:28 - Can I write a reusable method to do that, so that all of my API calls can reuse that method? 51:49 - What's a good rule on the number of out parameters vs returning an object with those values instead? 1:00:33 - Is ref used with value types to change their value within the method? 1:06:02 - What happens when you assign a new instance of a class to a parameter inside of a method? 1:12:00 - Are delegates the same as a callback function? 1:14:40 - If data types are not specified when assigning a delegate, would it automatically infer the type? 1:25:48 - Can a list of delegates be executed? 1:30:46 - Is it possible to use a non-void-return-type delegate as the type for an event, and then process the subscriber list with GetInvocationList()? 1:47:30 - What's the difference between abstract classes and

Published 2020-08-26 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code