Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Microsoft

Manage application data

Microsoft via Microsoft Learn

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
  • Learn how to handle date and time effectively in C# applications.
    • Use DateOnly, TimeOnly, and DateTime classes to represent dates and times.

    • Perform time zone conversions and interval calculations using DateTimeOffset, TimeZoneInfo, and TimeSpan.

    • Retrieve and manipulate day of the week information using DayOfWeek.

    • Handle culture-specific data using CultureInfo.

    • Perform calendar-related operations using Calendar and define rules for determining the first week of the year using CalendarWeekRule.

  • Learn, to use C# tools for managing groups of objects dynamically, ensuring type safety and efficient data manipulation.
    • Apply C# Collections for Efficient Data Management

    • Manage ordered collections using List<T> in C#

    • Manage unique collections with HashSet<T>

    • Using Dictionary<TKey, TValue> for efficient key-value pair management in C#

  • Learn to create organized, maintainable code with enum, struct, and record types in C#.
    • Use enums in C# to define named constants and prevent invalid values.

    • Work with structs in C# to encapsulate related data into lightweight containers.

    • Create records in C# to model immutable data and ensure consistency.

  • Get started with generic and anonymous types in C#.
    • Implement generic classes and methods to handle various data types efficiently.

    • Utilize advanced generics features like generic interfaces, covariance, contravariance, and generic math to address complex scenarios.

    • Apply anonymous types to create temporary, lightweight data structures for short-term use.

    • Explore use cases for anonymous types and tuples.

Syllabus

  • Get started with dates, times, and time zones
    • Introduction to handling date and time in C#
    • Examine C# classes for date, time, and time zones
    • Implement date and time classes in C#
    • Use DateTimeOffset, TimeZoneInfo, and TimeSpan in C#
    • Apply DayOfWeek, CultureInfo, Calendar, and CalendarWeekRule in C#
    • Exercise: Dates, times, and time zones in C#
    • Module assessment
    • Summary
  • Implement collection types
    • Introduction
    • Importance of collections
    • Implement ordered collections with List
    • Ensuring uniqueness with HashSet
    • Organize data with Dictionary
    • Exercise - Implement collection types
    • Module assessment
    • Summary
  • Implement enum, struct, and record types
    • Introduction
    • Use enums to represent named constants in C#
    • Create encapsulated data with structs in C#
    • Apply records for immutable data models in C#
    • Exercise - Implement enum, struct, and record types
    • Module assessment
    • Summary
  • Get started with generic and anonymous types
    • Introduction
    • Examine generics
    • Explore advanced generics concepts
    • Practical applications of anonymous types
    • Exercise - Implement generic and anonymous types
    • Knowledge check
    • Summary

Reviews

Start your review of Manage application data

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.