Easy one here I think, can you confirm that each code page is implemented as a seperate and unique subclass of System.Text.Encoding in .NET 2.0?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not sure I understand the context of your question, but yes,
Encoding.UTF8,Encoding.UTF16, and anything that is returned fromEncoding.GetEncoding()inherits fromSystem.Text.Encoding. It cannot be any other way, sinceEncoding.GetEncoding()returns anEncodinginstance, meaning the only thing it can do is return a subclass.