playing with dotnet core 9 - writing a class and using its functions or methods

Subscribers:
9,750
Published on ● Video Link: https://www.youtube.com/watch?v=70_NUvlkjUw



Duration: 0:00
24 views
0


----------------- Useful Links -----------------------------------
namespaces
https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/types/namespaces

how to write classes in razor engine template
https://stackoverflow.com/questions/5129663/classes-in-razor-engine-template

razor code blocks
https://docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-6.0#razor-code-blocks

objects - create instances of types (classes)
https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/object-oriented/objects

git tips:
How to undo most recent local commits in git
https://stackoverflow.com/questions/927358/how-do-i-undo-the-most-recent-local-commits-in-git
git log
git reset [commit number]
----------------- Video Sections -------------------------------
Chapters:
0:00 what namespaces and classes look like in C#
2:43 defining a class in a razor webpage (cshtml)
5:35 object declaration in razor webpage (cshtml)
9:55 using a function from a class or object
11:17 rude edits, restart manually
11:35 protection levels, public and private functions
15:25 public classes and functions/methods in C#
16:37 adding another function into our class
23:42 be careful of integer and double types!

--------------------[Playlists and Relevant Github Repositories]---------------------------------------------

Fluid Mechanics and Git Repos:
   • Fluid Mechanics  
https://github.com/theodoreOnzGit/OpenFoam_heatTrf_YouTube

Petroleum Downstream Crash Course Playlist:
   • Petroleum Refining  

OpenFOAM for Windows 10 Beginner Playlist and some Git Repos
   • OpenFoam for Windows Newbie Guide  
https://github.com/theodoreOnzGit/laminar_BL_OpenFOAM

OpenFOAM Intermediate Playlist and some Git Repos
   • OpenFOAM Intermediate Videos  
https://github.com/theodoreOnzGit/thin_pipeflow_snappyHexMesh

OpenFOAM Heat Transfer Playlist and GitHub Repo
   • OpenFOAM Heat Transfer  
https://github.com/theodoreOnzGit/OpenFoam_heatTrf_YouTube

Radiation Heat Transfer Learning Journal and Git Repos:
   • Radiation Heat Transfer Learning Jour...  
https://github.com/theodoreOnzGit/heatTransferTheory_YouTube

Convection Boundary Layer and git Repos:
   • Convection Heat Transfer  
https://github.com/theodoreOnzGit/heatTransferTheory_YouTube

Turbulence Modelling Playlist
   • Turbulence Modelling 1 - Reynold's Av...  
https://github.com/theodoreOnzGit/turbulenceModelling

LabView Frequency Analysis and Fun (playlist and git repo)
   • LabView Frequency Analysis and Fun  
https://github.com/theodoreOnzGit/Ted_labview_YouTube

Control Systems and Frequency Response
   • Laplace Transforms 1 - basic intuitio...  
https://github.com/theodoreOnzGit/matlabFrequencyResponse.git

OpenFOAM C++
https://github.com/theodoreOnzGit/C-_YouTube_OpenFoam
   • Introductory C++ for OpenFoam Users  

OpenFOAM Bash
https://github.com/theodoreOnzGit/Bash_OpenFOAM_YouTube
   • OpenFOAM Bash  

Basic Samba
   • basicSamba  
https://github.com/theodoreOnzGit/sambaVideos

Manjaro Tips and Tricks
   • Manjaro Tips and Tricks  

lammps and Discrete Element Modelling (DEM)
   • lammps and Discrete Element Modelling  

playing with dotnet core
   • playing with dotnet core  
dotnet core github repo
https://github.com/theodoreOnzGit/dotnetCoreYoutube




Other Videos By Theo Ong Science and Engineering


2022-03-05playing with dotnet core 19 - model validation for forms
2022-03-05playing with dotnet core 18 - playing around with tag helpers asp for and property binding
2022-03-05playing with dotnet core 17 - what are models, views and controllers?
2022-03-05playing with dotnet core 16 - fahrenheit to celsius converter, some revision on classes and objects
2022-03-05playing with dotnet core 15 - a roadmap to learning about model binding and validation
2022-03-04playing with dotnet core 14 - html form validators for the celsius to fahrenheit converter
2022-03-03playing with dotnet core 13 - making a simple celsius to fahrenheit converter
2022-03-03playing with dotnet core 12 - getting user input using input text and submit buttons
2022-03-02playing with dotnet core 11 - create, delete and navigate between git branches
2022-02-25playing with dotnet core 10 - writing and using namespaces from a separate file
2022-02-25playing with dotnet core 9 - writing a class and using its functions or methods
2022-02-25playing with dotnet core 8 - organising your code with classes and namespaces
2022-02-24playing with dotnet core 7 - lambda functions or expressions in C#
2022-02-24playing with dotnet core 6 - declaring string and double variables, and some math in C#
2022-02-24playing with dotnet core 5 - quick intro to git
2022-02-24playing with dotnet core 4 - making a new webpage
2022-02-24playing with dotnet core 3 - shortcuts aliases, vim settings vimrc and html tags
2022-02-23playing with dotnet core 2 - vim, dotnet watch and vscode
2022-02-23playing with dotnet core 1 - beginner's introduction and installation in manjaro
2022-02-22playing with DWSim 8 - where to find flowsheet examples to learn from (samples, examples and FOSSEE)
2022-02-22playing with DWSim 7 - basic dynamic simulation setup