[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-705083-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-705083-en":130,"doc-similar-705083":176},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","the-c-players-guide-second-edition-learning-c-programming-basics-and-advanced-topics","The C# Player’s Guide - Second Edition - Learning C# programming basics and advanced topics","","RB Whitaker’s The C# Player’s Guide, Second Edition, presents a structured learning path for C# and the .NET ecosystem. It begins with fundamentals such as variables, types, math, input, and control flow, then advances through object-oriented programming, including classes, properties, inheritance, polymorphism, interfaces, and generics. Later chapters cover advanced topics like namespaces, files, exceptions, delegates, events, operator overloading, LINQ-style query expressions, multithreading, and asynchronous programming. The guide also emphasizes using Visual Studio and debugging practices.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/the-c-players-guide-second-edition-learning-c-programming-basics-and-advanced-topics/705083/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/the-c-players-guide-second-edition-learning-c-programming-basics-and-advanced-topics/705083.png","ImageObject",300,407,{"name":42,"@type":43},"Fahsai","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-20","2026-11-14",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",5,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What topics are covered in the early chapters of the guide?","Question",{"text":63,"@type":64},"The guide starts with the C# language basics, installing Visual Studio, creating a first “Hello World” program, and writing comments. It then covers variables, the type system, math, user input, and core decision-making and looping constructs.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does the book progress from basics to object-oriented programming?",{"text":68,"@type":64},"After foundational topics like variables and control flow, it moves into object-oriented programming. Coverage includes classes and objects, custom classes, properties, structs, inheritance, polymorphism, interfaces, and generics.",{"name":70,"@type":61,"acceptedAnswer":71},"Which advanced areas are addressed later in the book?",{"text":72,"@type":64},"Advanced chapters include namespaces and using directives, file reading and writing, error handling and exceptions, delegates and events, operator overloading, lambda expressions, query expressions, multithreading, and asynchronous programming. The guide also includes tooling topics like Visual Studio usage and debugging.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},705083,1794682974,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":55,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":90,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":80,"read_time":143,"preview_page_count":110,"preview_urls":144},549768702563,"https://ap-avatar.wpscdn.com/avatar/8000c4aa63b76e948b?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786536092046926083","The C\\# Player’s Guide  \nSecond Edition  \nRB Whitaker  \n Starbound Software  \nMany of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the author and publisher were aware of those claims, those designations have been printed with initial capital letters or in all capitals.  \nThe author and publisher of this book have made every effort to ensure that the information in this book was correct at press time. However, the author and publisher do not assume, and hereby disclaim any liability to any party for any loss, damage, or disruption caused by errors or omissions, whether such errors or omissions result from negligence, accident, or any other cause.  \nCopyright © 2012-2015 by RB Whitaker  \nAll rights reserved. No part of this book may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without written permission from the author, except for the inclusion of brief quotations in a review. For information regarding permissions, write to:  \nRB Whitaker  \n[rbwhitaker@outlook.com](rbwhitaker@outlook.com)  \n[ISBN-10: 0985580127](ISBN-10: 0985580127)  \nISBN-13: 978-0-9855801-2-4  \nContents at a Glance  \nAcknowledgements xv  \nIntroduction xvii  \nPart 1: Getting Started  \n\n| 1. The C\\# Programming Language | 3 |\n| --- | --- |\n| 2. Installing Visual Studio | 6 |\n| 3. Hello World: Your First C\\# Program | 10 |\n| 4. Comments | 20 |\n| Part 2: The Basics |  |\n| 5. Variables | 25 |\n| 6. The C\\# Type System | 32 |\n| 7. Basic Math | 41 |\n| 8. User Input | 47 |\n| 9. More Math | 53 |\n| 10. Decision Making | 60 |\n| 11. Switch Statements | 69 |\n| 12. Looping | 73 |\n| 13. Arrays | 80 |\n| 14. Enumerations | 86 |\n| 15. Methods | 90 |\n| 16. Value and Reference Types | 102 |\n| Part 3: Object-Oriented Programming |  |\n\n17. Classes and Objects 113  \n18. Making Your Own Classes 118  \n19. Properties 132  \n20. Structs 138  \n21. Inheritance 144  \n22. Polymorphism, Virtual Methods, and Abstract Classes 151  \n23. Interfaces 156  \n24. Using Generics 161  \n25. Making Generic Types 167  \nPart 4: Advanced Topics  \n\n| 26. Namespaces and Using Directives | 175 |\n| --- | --- |\n| 27. Methods Revisited | 181 |\n| 28. Reading and Writing Files | 186 |\n| 29. Error Handling and Exceptions | 191 |\n| 30. Delegates | 199 |\n| 31. Events | 206 |\n| 32. Operator Overloading | 214 |\n| 33. Indexers | 219 |\n| 34. Extension Methods | 223 |\n| 35. Lambda Expressions | 227 |\n| 36. Query Expressions | 233 |\n| 37. Threads | 239 |\n| 38. Asynchronous Programming | 246 |\n| 39. Other Features in C\\# | 254 |\n| Part 5: Mastering the Tools |  |\n| 40. C\\# and the . NET Framework | 277 |\n| 41. Getting the Most from Visual Studio | 285 |\n| 42. Referencing Other Projects | 291 |\n| 43. Handling Common Compiler Errors | 296 |\n| 44. Debugging Your Code | 304 |\n| 45. How Your Project Files are Organized\u003Cbr>Part 6: Wrapping Up | 311 |\n\n46. Try It Out! 317  \n47. What’s Next? 323  \nGlossary 327  \nIndex 339  \nTable of Contents  \nAcknowledgements xv  \nIntroduction xvii  \nThe Player’s Guide xvii  \nHow This Book is Organized xviii  \nGetting the Most from This Book xx  \nI Genuinely Want Your Feedback xxi  \nThis Book Comes with Online Content xxi  \nPart 1: Getting Started   \n1. The C\\# Programming Language 3  \nWhat Exactly is C\\#? 3  \nWhat is the .NET Framework? 4  \nC\\# and .NET Versions 5  \n2. Installing Visual Studio 6  \nVersions of Visual Studio 7  \nThe Installation Process 8  \nAlternatives to Visual Studio 8  \n3. Hello World: Your First C\\# Program 10  \nCreating a New Project 11  \nA Brief Tour of Visual Studio 12  \nBuilding Blocks: Projects, Solutions, and Assemblies 13  \nModifying Your Project 13  \nCompiling and Running Your Project 15  \nA Closer Look at Your Program 16  \nWhitespace Doesn’t Matter 18  \nSemicolons 19  \n4. Comments 20  \nWhat is a Comment? 20  \nWhy Should I Use Comments? ","cbCaiph9FOKuO8wt","https://ap.wps.com/l/cbCaiph9FOKuO8wt","pdf",2759243,"English","# Part 1: Getting Started\n## 1. The C# Programming Language\n## 2. Installing Visual Studio\n## 3. Hello World: Your First C# Program\n## 4. Comments\n# Part 2: The Basics\n## 5. Variables\n## 6. The C# Type System\n## 7. Basic Math\n## 8. User Input\n## 9. More Math\n## 10. Decision Making\n## 11. Switch Statements\n## 12. Looping\n## 13. Arrays\n# Part 3: Object-Oriented Programming\n## 17. Classes and Objects\n## 18. Making Your Own Classes\n## 19. Properties\n## 20. Structs\n## 21. Inheritance\n## 22. Polymorphism, Virtual Methods, and Abstract Classes\n## 23. Interfaces\n## 24. Using Generics\n## 25. Making Generic Types\n# Part 4: Advanced Topics\n## 26. Namespaces and Using Directives\n## 28. Reading and Writing Files\n## 29. Error Handling and Exceptions\n## 30. Delegates\n## 31. Events\n## 35. Lambda Expressions\n## 36. Query Expressions\n## 38. Asynchronous Programming\n# Part 5: Mastering the Tools\n## 40. C# and the .NET Framework\n## 44. Debugging Your Code\n# Part 6: Wrapping Up\n## 46. Try It Out!\n## 47. What’s Next?","[{\"question\":\"What topics are covered in the early chapters of the guide?\",\"answer\":\"The guide starts with the C# language basics, installing Visual Studio, creating a first “Hello World” program, and writing comments. It then covers variables, the type system, math, user input, and core decision-making and looping constructs.\"},{\"question\":\"How does the book progress from basics to object-oriented programming?\",\"answer\":\"After foundational topics like variables and control flow, it moves into object-oriented programming. Coverage includes classes and objects, custom classes, properties, structs, inheritance, polymorphism, interfaces, and generics.\"},{\"question\":\"Which advanced areas are addressed later in the book?\",\"answer\":\"Advanced chapters include namespaces and using directives, file reading and writing, error handling and exceptions, delegates and events, operator overloading, lambda expressions, query expressions, multithreading, and asynchronous programming. The guide also includes tooling topics like Visual Studio usage and debugging.\"}]","The C# Player’s Guide - Second Edition - Learning C# programming basics and advanced topics | PDF",202,[145,149,153,156,160,164,168,172],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/5070371da037227294eb38cda814b237.webp",983,1226,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/bf4662c2714693184fd0234a4c4f802c.webp",982,1227,{"page_no":30,"url":154,"width":155,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/ae304a318b248396210f668a0127d330.webp",981,{"page_no":33,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/662f43214a159db29ab1c47e50400538.webp",980,1224,{"page_no":55,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/2ba8db9238d735821b84cb07527f21d1.webp",979,1223,{"page_no":101,"url":165,"width":166,"height":167},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/ca06332759b5b1104a88fe123dc6a370.webp",978,1222,{"page_no":105,"url":169,"width":170,"height":171},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/27104d0738cccfd672f7f652560b0560.webp",977,1221,{"page_no":110,"url":173,"width":174,"height":175},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/b41806152fe6a9036c16d16f6283caf0.webp",976,1219,{"list":177,"token":11},[178,183,189,195,202,208,215,222,229,236],{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":55,"category_name":29,"create_tm":80},705082,"The C# Player's Guide - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230015594599/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=C%2Fct5EDkAeozEtMvZxXG6GlsnLg%3D","the-c-players-guide-read-online-free",{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":33,"category_name":29,"create_tm":188},705088,"C# Game Programming - For Serious Game Creation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230015594627/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=90rU7%2FIqFLkOhDrSkNUd%2B2N0wFY%3D","c-game-programming-for-serious-game-creation",1794682989,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":105,"category_name":29,"create_tm":194},407983,"murach's - A Self-Paced Professional Book - Object-Oriented Book - Introduction to Database Programming","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229920863146/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=1V7g7BD0RjTBdpLkmVu5ME11MLE%3D","murachs-a-self-paced-professional-book-object-oriented-book-introduction-to-database-programming",1790577509,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":29,"create_tm":201},501611,"Sams Teach Yourself - C++ in One Hour a Day - 6th ed.","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229931378859/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=Ts5Sykuh%2Bw8ZprJnVqJQeXXbxdQ%3D","sams-teach-yourself-c-in-one-hour-a-day-6th-ed",17,1791021464,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":110,"category_name":29,"create_tm":207},705081,"The C# Players Guide - 5th Edition - Sample","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230015594600/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=I2EFoDy9uyiW%2FZq8vR5SM1Wpl4I%3D","the-c-players-guide-5th-edition-sample",1794682972,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":29,"create_tm":214},347824,"Oracle AI Database - Java Developer's Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911045076/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=Vi1vkTxlr2bNTvNEaAa3JSoctoo%3D","oracle-ai-database-java-developers-guide",23,1790069256,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":29,"create_tm":221},718169,"Core-java-material","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230018614171/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=p6wlt%2FakE8HvYL15AM2lYIaCpNE%3D","core-java-material",15,1794855126,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":227,"category_name":29,"create_tm":228},347076,"Core Java - Volume 1 - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910997667/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=4rSqfJr%2BO6IvFZhRD9p27tRouTk%3D","core-java-volume-1-twelfth-edition",31,1790065168,{"doc_id":230,"doc_title":231,"file_type":137,"home_preview_img_url":232,"slug":233,"view_count":234,"category_name":29,"create_tm":235},140673,"Freecell/Solitaire - Software Design Inheritance Guidelines","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229866047857/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=lL1Y7CPd2Q8kyUry%2FGGfF9llJm8%3D","freecellsolitaire-software-design-inheritance-guidelines",18,1787595696,{"doc_id":237,"doc_title":238,"file_type":137,"home_preview_img_url":239,"slug":240,"view_count":105,"category_name":29,"create_tm":241},685663,"More Effective C# - Second Edition - Item 14 - Prefer Defining and Implementing Interfaces to Inheritance","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000173255/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=tSpbrm91DwmuM0BIQas4i%2F7kkos%3D","more-effective-c-second-edition-item-14-prefer-defining-and-implementing-interfaces-to-inheritance",1794016364]