MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

C# Tips and Traps

Course Summary

Whether you're still learning C# or you already have some experience, it's sometimes hard to know what you don't know. This course is designed to short-circuit your C# learning and provides a whole host of useful information about the sometimes under-used

  • +

    Course Syllabus

    ● Part I
        ◦ Module Overview
        ◦ Customize debugger display values
        ◦ Control the display of members in the debugger
        ◦ The null-coalescing operator
        ◦ The danger of virtual method calls from constructors
        ◦ The caller information attributes
        ◦ Partial types and methods
        ◦ Runtime conversions with Convert.ChangeType
        ◦ Expose internal types and members to friend assemblies
        ◦ Module Summary
    ● Part II
        ◦ Module Overview
        ◦ Simplifying string empty and null checking code
        ◦ Time zones and using DateTime.MinValue to represent null dates
        ◦ Conditional compilation and emitting compiler warnings and errors
        ◦ Testing char Unicode validity
        ◦ Changing the current thread's culture at runtime
        ◦ Creating random numbers
        ◦ Using Tuples to reduce code
        ◦ Forcing reference equality comparisons
        ◦ Don't change an object's hashcode after adding to a dictionary
        ◦ Creating and using combinable enums
        ◦ Module Summary
    ● Part III
        ◦ Module Overview
        ◦ Conditional formatting for positive, negative, and zero numbers
        ◦ Marking code as obsolete
        ◦ Avoiding re-evaluation of LINQ queries
        ◦ Launching arbitrary programs and capturing their output
        ◦ Static Array Methods
        ◦ Copying, atomic cloning, and resizing of arrays
        ◦ Initializing multidimensional rectangular and jagged arrays
        ◦ Preserving your stacktrace when rethrowing exceptions
        ◦ Module Summary
    ● Part IV
        ◦ Module Overview
        ◦ Parsing numeric types with the NumberStyles enumeration
        ◦ Preventing ambiguous DateTime parsing
        ◦ Avoiding DateTime misparsing with culture-independent strings
        ◦ Parsing DateTimes with the DateTimeStyles enumeration
        ◦ Converting base types to byte arrays
        ◦ as or cast?
        ◦ Exiting loops early
        ◦ Binary compatibility with optional parameters
        ◦ Module Summary
    ● Part V
        ◦ Module Overview
        ◦ Replacing temporary collections with yield
        ◦ Creating type namespace aliases and resolving external collisions
        ◦ Representing arbitrarily large integer values
        ◦ Creating and using custom format providers
        ◦ Module Summary
    ● Part VI
        ◦ Module Overview
        ◦ Conditionally executing methods based on compilation symbols
        ◦ The conditional operator
        ◦ Make working with paths easier
        ◦ Formatting and aligning values into columns
        ◦ Specify methods that take an arbitrary number of arguments
        ◦ Simplify constructor overloads
        ◦ Finding out information about the current system and platform
        ◦ Using indexers in your own classes
        ◦ Module Summary
        ◦ Module Summary


Course Fee:
USD 29

Course Type:


Course Status:



1 - 4 hours / week

This course is listed under Development & Implementations and Quality Assurance & Testing Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top