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

Pluralsight

C# 7 Attributes: Power and Flexibility for Your Code

via Pluralsight

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
What are C# attributes? How can they benefit me? Learn to create and use your own C# custom attributes and what they are with our C# attributes course.

C# attributes are a powerful way to add declarative “metadata” to your C# code that can be used by visual designers at design time, control code compilation at build time, customize the experience during debugging, and control program execution at run time. In this course, C# 7 Attributes: Power and Flexibility for Your Code, you'll learn how to leverage the power of attributes in your C# applications. First, you'll learn about some of the problems attributes can help you solve. Next, you'll understand how you can benefit from some of the useful prebuilt attributes and how to provide values for attributes constructors and properties. Finally, you'll explore how to go one step further and define and use your own custom attributes to give your solutions extra power and flexibility. When you’re finished with this course, you’ll have an appreciation for the power and flexibility C# attributes provide and how you can use them to expand your C# applications.

Syllabus

  • Course Overview 1min
  • Understanding the Hidden Power of Attributes 14mins
  • Leveraging the Power of Prebuilt Attributes in Your Code 31mins
  • Gaining Flexibility and Expanding Your Solutions with Custom Attributes 23mins

Taught by

Jason Roberts

Reviews

4.4 rating at Pluralsight based on 89 ratings

Start your review of C# 7 Attributes: Power and Flexibility for Your Code

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.