Back to Browse

C# Methods

754 views
Feb 6, 2022
48:55

Time Description 0:16 Methods Modularize Program (intro and why) 1:26 Creating a Private Method (Square Program Example/Return value/Comment!) 4:06 Parameters For Methods 4:50 Fig 7.3 Max Finder Class 6:08 Convert Class (Data from one type to another Widening/Narrowing) 7:20 Maximum Method (return values, value in methods) 9:40 GUI Aspects (Initialize Component, Dispose) 11:20 GUI Event Handler 12:26 Namespaces and Using Statements(Random.Next, Using Statement) 12:42 Random Class 14:18 For Loop (frequency incrementer, switch case) 16:11 Fig 7.8 Craps Program (Enumeration Explanation) 17:20 Enum Status, DiceNames (Giving enum a value) 18:30 Enum Status Variable 20:00 If-Statement using Enum 21:17 Cast Integer to Enum 22:10 Switch-case (using ENUM as values) 22:42 Creating Days of Week Enum 23:23 Method User Passes Day of Week (if/else example w/ enums and specific values) 25:38 Fig 7.9 Scope (Class scope vs Method scope) 27:47 This Keyword 29:07 Fig 7.14 Overloading Methods 29:23 Square Method (int vs double overloading) 31:33 Fig 7.15 Optional Parameters 32:45 Recursion (Method calling itself) 33:45 Ref & Out Keywords (Memory Allocation Differences) 36:05 Calling Methods Differently (ref/out) 37:05 Definition of Ref and Why You'd Use It 38:40 Definition of Out and Why You'd Use It 40:33 Reference Type Example 42:30 Passed by Reference(clsEmployee Example) 44:00 Ch.7 Random Program Example 46:15 Clear Screen Method 47:00 How Program Checks if Guess is Right/Wrong

Download

0 formats

No download links available.

C# Methods | NatokHD