Trong kịch bản trường hợp sau đây, bạn áp dụng những gì bạn đã học về làm thế nào để thực hiện và áp dụng tuần tự, cũng như làm thế nào để nâng cấp các ứng dụng sử dụng của serialization. Bạn có thể tìm thấy câu trả lời cho những câu hỏi trong phần "Câu trả lời" ở cuối của cuốn sách này. | 214 Chapter 5 Review Case Scenarios In the following case scenarios you apply what you ve learned about how to implement and apply serialization as well as how to upgrade applications that make use of serialization. You can find answers to these questions in the Answers section at the end of this book. Case Scenario 1 Choosing a Serialization Technique You are an application developer for City Power Light. For the last year you and your team have been creating a distributed .NET Framework solution to replace the antiquated system that currently accounts for electrical usage and distributes bills to customers. You have created components for monitoring electrical usage and you are at the stage of development when you need to transmit usage information to the billing system. Your manager asks you to interview key people and then answer some questions about your design choices. Interviews The following is a list of company personnel you interviewed and their statements Billing System Development Manager I ve already got my guy working on this and he has built methods with .NET that accept your Usage objects and add billing information to the database. So we just need you to create those objects and send them over the internal network to us. Network Manager All the accounting and billing servers are on the same subnet so you don t have to worry about your network traffic going through any firewalls. I would like you to try and minimize the bandwidth used we have millions of accounts and that subnet is close to being saturated already. Questions Answer the following questions for your manager 1. Which serialization method will you use 2. What changes will you need to make to your class to enable serialization 3. About how many lines of code will you need to write to perform the serialization Chapter 5 Review 215 Case Scenario 2 Serializing Between Versions You are an application developer working for Humongous Insurance. Recently you have launched version of .