C# - Interesting String Methods
Introduction In this post, we will look at some interesting string methods in C#. For example: Youβll the IndexOf() method to locate the position of one or more characters string inside a larg...
Introduction In this post, we will look at some interesting string methods in C#. For example: Youβll the IndexOf() method to locate the position of one or more characters string inside a larg...
Introduction to the Contoso Pets adoption C# console application The application already creates sample data on pets available for adoption, and is able to display the petβs description informa...
Hereβs a brief list of categories of these built-in methods so you can get an idea of whatβs possible. Methods that add blank spaces for formatting purposes (PadLeft(), PadRight()) ...
Introduction Composite formatting uses numbered placeholders within a string. At run time, everything inside the braces is resolved to a value that is also passed in based on their position. ...
Introduction Exceptions can be thrown by your code when an issue or error condition is encountered. Exception objects that describe an error are created and then thrown with the throw keyword. Whe...
Runtime errors in a C# application are managed using a mechanism called exceptions. Exceptions provide a structured, uniform, and type-safe way of handling both system level and application-le...
Run menu options The Visual Studio Code Run menu provides easy access to some common run and debug commands. VS Code Run Menu Options The Run menu provides menu options that are grouped into si...
Testing Software testing categories can be organized under the types of testing, the approaches to testing, or a combination of both. One way to categorize the types of testing is to split te...
Introduction The for statement: executes its body while a specified Boolean expression (the βconditionβ) evaluates to true. The foreach statement: enumerates the elements of a collection and ...
Official Microsoft Learning Platform In software development projects, the term state is used to describe the condition of the execution environment at a specific moment in time. As your co...