,Refactoring with C#
Safely improve .NET applications and pay down technical debt
with Visual Studio, .NET 8, and C# 12
Matt Eland
BIRMINGHAM—MUMBAI
,Refactoring with C#
Copyright © 2023 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted
in any form or by any means, without the prior written permission of the publisher, except in the case
of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information
presented. However, the information contained in this book is sold without warranty, either express
or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable
for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and
products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot
guarantee the accuracy of this information.
Group Product Manager: Kunal Swant
Associate Publishing Product Manager: Debadrita Chatterjee
Senior Editor: Esha Banerjee
Technical Editor: Jubit Pincy
Copy Editor: Safis Editing
Project Coordinator: Manisha Singh
Proofreader: Safis Editing
Indexer: Rekha Nair
Production Designer: Ponraj Dhandapani
Marketing Co-ordinator: Sonia Chauhan
First published: November 2023
Production reference: 1271023
Published by Packt Publishing Ltd.
Grosvenor House
11 St Paul’s Square
Birmingham
B3 1RB, UK
ISBN 978-1-83508-998-9
www.packtpub.com
, To my dear wife, Heather, who encouraged me to dream big and supported me while I did so.
To our dads, who we wish could be here to see this.
To all those I have had the privilege to teach, mentor, manage, and inspire – and to those I’ve yet to
impact: may your learning journeys be amazing.
Matt