
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Explore how the dotnet framework handles equality and comparison, distinguishing value and referential equality, and implement the three standard equality protocols with Equals, GetHashCode, and IEquatable.
Explore how order comparison drives sorting in the .NET framework with the IComparable interface and the greater-than and less-than operators, where CompareTo returns positive, zero, or negative.
This video includes some way to solve the exam, yet I highly encourage you to first try it yourself for optimum learning success.
Enumerate strings with for, foreach, and LINQ in C# and .NET, exploring length, indexers, immutability, and string modification via join, take, skip, and insert.
Learn how to modify strings in C# by using the replace method to produce Hello World, handle casing, and demonstrate string immutability and method chaining.
Learn to split strings using the split method for csv data, remove empty entries with split options, and join results using the join method.
Learn to extract protocol, domain, and resource from a URL using the string split method in C#, printing the protocol and other parts to the console with an anonymous type.
Make sure to try it out yourself before diving into the Solution!
Explore strings in dot net and c# by examining properties, constructors, and escape characters. Use split and join in the string class while understanding immutability, culture-sensitive equality, and encoding.
Explore the LINQ introduction, its architecture around sequences and extension methods, and how queries on in memory collections execute with deferred processing using where, select, and to lower.
Explore empty, repeat, and range sequence operators in C# and .NET, showing how Enumerable.Empty, Enumerable.Repeat, and Enumerable.Range produce and display sequences in the console via join.
Explore sequence-to-scalar operators first, single, last, and element at on enumerables, including defaults when no match and predicate usage with examples.
Read an existing text file by building a path from the current directory with Path.Combine, use the static file class to read all lines, and print the joined text.
Explore deserializing with json.net by building a json string for a query object, using JsonConvert to serialize and deserialize, and handling type-safe casts and nulls.
Explore linq to json by parsing a json string into a JObject, accessing properties via indexing, and printing values to the console.
Do you need to think twice which Linq Operater you need to use or do you have the need to check on stackoverflow every little detail for LINQ queries?
Was it Substring or Replace on a string which would be more appropriate here?
How can you add buffering to your stream again?
Need to dynamically work with JSON objects?
Those and many more every day questions will be answered by this course on day to day programming in .Net.
Not only will this make you more productive but also way more confident with your abilities!
This course contains:
LINQ qerying from fluent to query syntax
All LINQ operators
common string operations and best practices
Equality and Comparison like it is intended
working with datetimes and timespans
Serialization with JSON.NET
Streams and I/O with .Net
With this course you are going to be absolutely well equipped to utilize the full power of the .Net Framework to your advantage. This will lead to better code and helps you to concentrate on the business logic.