I’ll be doing 30 days (hopefully) of C#, starting with the course on Codecademy. I’ll be happy if i even manage to do two weeks though. A month is a long time to plan for.
Resources:
May 18, 2020
Finished the fourth module of C# Fundamentals
Working with Classes and Objects
May 17, 2020
Finished the third module of Object-Oriented Programming Fundamentals in C#
May 16, 2020
May 14, 2020
Restarted learning after getting a new Pluralsight subscription, cost me PKR 32000 with a 33% off deal. Figured the amount spent will serve as motivation for finishing the courses. It’s an investment in myself, of course.
April 29, 2020
Took a break, because life happened. There was a death, and there was a fire.. Got back to learning today, finished Module 3 of C# Fundamentals
Took me about 3 hours, even though i am familiar with the subject and it wasn’t difficult. That’s what it usually takes though, 30mins of video means 3hrs for me. Now i’m worried that the #freeApril will end and so will my subscription =(
April 5, 2020
The bare minimum was at Codecademy:
April 4, 2020 Was too occupied with other things on the weekend (setup an Ubuntu server with Opencart and added SFTP user etc.). Only did the bare minimum to keep the 30 days streak
Codecademy:
The Pluralsight course is much better in terms of it’s knowledge level and thoroughness. Where Codecademy is going on about data types and numbers, the Pluralsight course started with an intro to the dotnet
CLI, project structure and debugging in the first section.
April 3, 2020
Learned:
dotnet
CLI{}
you can put an expression1static void Main(string[] args)
2{
3 Console.WriteLine("Hello, " + args[0] + " !");
4 Console.WriteLine($"Hello, {args[0]} !");
5}
1dotnet run BLAH # params for the dotnet CLI
2dotnet run -- BLAH # params for the application
an exception represents an error condition
handled exception = yes, i expected this error to occur
unhandled exception = halt/crash your program, .NET runtime won’t allow program to continue executing
Finished the Working with Numbers section on Codecademy
Learned:
different data types take different amounts of memory. Choosing a data type that takes up less memory will result in faster applications
int
whole numbers - 76, 2, 978, 12123
float
, double
, decimal
decimal values
decimal
is the most precise. think financial applications precise - 489872.76mdouble
is more precise than a float
and faster to process than a decimal
. usually the best choice - 39.76876m
at the end of a decimal value tells C# it’s a decimal
type and not a double
April 2, 2020
Went through the Hello World of C#
Learned: