Category: C#
-
C#: Guided Project #1 -Student Grading Application
John 6:10-14 (NKJV) “Then Jesus said, “Make the people sit down.” Now there was much grass in the place. So the men sat down, in number about five thousand. And Jesus took the loaves, and when He had given thanks He distributed them to the disciples, and the disciples to those sitting down; and likewise…
-
C#: Casting (Int) to (Decimal)
Ephesians 5:1-2 (NIV) “Follow God’s example, therefore, as dearly loved children and walk in the way of love, just as Christ loved us and gave himself up for us as a fragrant offering and sacrifice to God.” This program will demonstrate the importance of type casting in the C# language. It is based off of…
-
C# – Verbatim Literals & String Interpolation
1 John 4:19 (HCSB) “We love because He first loved us.” A verbatim literal indicates that a string literal is to be interpreted verbatim. A verbatim literal uses the prefix symbol “@“. This “@” symbol is a verbatim identifier. Recall that string interpolation can combine multiple values into a single string by utilizing a template…
-
C# – String Concatenation & String Interpolation
Zephaniah 3:17 (NIV): “The LORD your God is with you, the Mighty Warrior who saves. He will take great delight in you; in His love He will no longer rebuke you, but will rejoice over you with singing.” String concatenation combines two or more values into a new string. The string concatenation operator “+” concatenates…
-
C# Post 6: Managed Code & The CLR
1 Corinthians 12:20 (ESV) “As it is, there are many parts, yet one body.” *** Information is attributed, in part, to: “Programming C# 12 by Ian Griffiths (O’Reilly). Copyright 2024 by Ian Griffiths, 978-1-098-15836-1.” Amazon Link Here. Compilers: Historically Historically, a compiler would process source code to produce an output that a computer’s central processor could…
-
C# Post #5 – Static vs. NonStatic
Hebrews 10:35-39 (HCSB) “So don’t throw away your confidence, which has a great reward. For you need endurance, so that after you have done God’s will, you may receive what was promised. For in yet a very little while, the Coming One will come and not delay. But My righteous one will live by faith;…
-
C#: Post 4
Philippians 4:6 “Don’t worry about anything, but in everything, through prayer and petition with thanksgiving, let your requests be made known to God.” Basic String Formatting in C# C# code often takes preexisting values and creates new values that are displayed, saved in files, and sent across various networks. C# provides several ways to combine…
-
C#: Post 3
Assigning & Reassigning — The Value of a Variable As demonstrated above, variables can be assigned values. These values can then be reassigned, new values. However, this code also demonstrates the value being “reassigned” back to its original value. “To avoid the possibility of an unassigned local variable, it is recommended that you set the…
-
C# : Post #2
Store & Retrieve Data using Literal & Variable Values in C# Char Literal A literal value, is a hard-coded value. It is known as a constant. This value never changes. This creates a char literal, as the ‘b’ is surrounded in single quotes. The term char = character. The above code will produce the following…
-
C# : Post #1
We will start these first several C# post’s by following along with the Microsoft Learn Certification for C#, hosted by FreeCodeCamp.com. Though, I will add my own information from other sources throughout. Whereas . . . Remember: Challenge Write code that would produce this output: