Join us on a literary world trip!
Add this book to bookshelf
Grey
Write a new comment Default profile 50px
Grey
Subscribe to read the full book or read the first pages for free!
All characters reduced
Metaprogramming in C# - Automate your NET development and simplify overcomplicated code - cover

Metaprogramming in C# - Automate your NET development and simplify overcomplicated code

Einar Ingerbrigsten

Publisher: Packt Publishing

  • 0
  • 0
  • 0

Summary

Metaprogramming is an advanced technique that helps developers to automate repetitive tasks, generate scalable code, and enhance productivity in software development. Metaprogramming in C# is a comprehensive guide that will help you reap the full potential of metaprogramming in .NET runtime.
You’ll start by learning about the .NET runtime environment and how you can use it to become a more productive developer. You'll learn how to infer types using reflection, use attributes, and create dynamic proxies. You’ll also explore the use of expressions to create and execute code and how to take advantage of Dynamic Language Runtime.
But that's not all! You’ll also learn to go beyond inheritance and use method signature conventions to create easily maintainable code. Finally, you’ll dive into the world of compiler magic with Roslyn, where you'll discover how to use Roslyn to generate code, perform static code analysis, and write your own compiler extensions.
By the end of this book, you’ll have a deep understanding of metaprogramming concepts and how to apply them to your C# code. You’ll be able to think about types, use attributes and expressions to generate code, and apply crosscutting concerns to improve code quality.
Available since: 06/30/2023.
Print length: 352 pages.

Other books that might interest you

  • Making Bird-Friendly Birdhouses - Instructions and Plans for 15 Specific Birds Including Bluebirds Wrens Robins & Owl - cover

    Making Bird-Friendly Birdhouses...

    Melvin "Bird Man Mel" Toellner,...

    • 0
    • 1
    • 0
    As popular as birdhouses are, many are designed with aesthetics in mind, rather than the bird's preferences and needs. Not so for the projects in Making Bird-Friendly Birdhouses. Lifelong birder Mel "Bird Man Mel" Toellner and pro woodworker Matt Maguire walk readers step-by-step through 15+ projects for safe birdhouses that birds find conducive to their natural nesting habitats. They begin with a comprehensive introduction to why birdhouses are so important, and why the birdhouses should be created with specific birds in mind like bluebirds, wrens, chickadees, owls and even bats! With additional sections on distribution maps, detailed plans, mounting instructions, and tips on attracting birds to your yard, it has everything you need to create a successful backyard haven for your winged friends.
    Show book
  • Make Your Home a Nature Reserve - cover

    Make Your Home a Nature Reserve

    Donna Mullen

    • 0
    • 1
    • 0
    Bees, butterflies, bats, badgers …
    These beautiful and fascinating creatures need a little help from us, as their natural habitats are under pressure.
    It's time to invite nature into your home – whether it's a window box, a suburban garden or a farm. Learn how to build a pond, make places for bats to roost and spaces for hedgehogs to ramble. Discover the amazing secret lives of Ireland's wildlife, from tiny bugs to large mammals.
    Do try this at home!
    Show book