Category: C#

My Load: Workloads Software Development

18/05/2020 1

As some of you who read this site will know, I have been developing software that tracks and records our workload. This app is currently designed for the university sector but could be modified to suit other settings. Technologies C# MS SQL Workload Measurement Units Both EFTSL and Hours. Automatic conversion between both. The conversion…

By Laurence

MS Visual Studio

18/05/2020 0

Download Visual Studio. Visual Studio can be a very large program in size, ranging from between 600 mb to over 80 gigabytes.  Make sure you have enough space on your hard drive. You should also have at least 4 mb of ram. An SSD will help with loading times. Visual Studio is an Integrated Development Environment…

By Laurence

Let’s Learn C#

18/05/2020 0

C# is a member of the C language family, developed by Microsoft. It first appeared in 2008. Visual Studio provides excellent support for C#. You can use VS and C# to build both Android and Unity apps and games. Importantly, you can build Windows programs and apps with C#. Read More about C# at Wikipedia.

By Laurence

C# Data Types

27/04/2020 0

C# is a strongly typed language.  All variables and constants must be assigned as a particular data type. The type establishes how much memory is reserved for the variable or constant. Integral Data Types Integral data types represent whole numbers.  They do not have decimal notation. C# Type Numeric Type .Net alias Type Numeric Range…

By Laurence

C# Console Apps vs Win Form Apps

27/04/2020 0

A console app is a program that runs in the console. The console is generally a black screen and the text is generally white, although you can program it to have other colors. A console app does not have a graphical user interface (GUI). When writing a console app you don’t need to worry about…

By Laurence

C# Console App Age In One Year

27/04/2020 0

This C# console app asks the user to enter their age. It  prints to the console screen the use’s in one years time. Notes To understand and build this console app you will need: Data types: string, integer. variables. Write and WriteLine methods. ReadLine method. int.Parse method. ReadKey method. Parameter place holder {0}. Explanation Line…

By Laurence

C# Console App University Workloads Basic

27/04/2020 0

This C# console app asks the user to input a range of data related to their university hours-based workload: First name, Last name, Current date, Quantity of students taught, Number of research papers published, Number of research grants obtained, Number of short meetings attended, Number of standard meetings attended, Number of students in the course…

By Laurence

C# Console App Carpet a Room

26/04/2020 0

This C# console app asks the user to input a range of data: Room length; Room width; Senior’s discount or not choice; Age. Code Show Code Awareness Data Types: int, float Constant (variable) If Else conditionals / flow control int.Parse Arithmetic operators Operator precedence percentage calculation Equality operator == Comparison operator >= Console.WriteLine method Console.ReadLine…

By Laurence

C# Close Form and Open New Form

26/04/2020 0

This code snippet references a method to close the existing winform and open a new winform. It is part of a larger windows program. Application This allows for a new form to be opened when a user has completed entering data into the existing form and needs to move to the next page. Explanation Line…

By Laurence