Ok, I\'m probably just having an epic fail here, but my mind wants to say this should work.
Assume DataProtect.DecryptData takes an encrypted string as input and a d
You can not assign anything to "this". Change ArriveDetails to a static that return the deserialised object.
class ArrivedDetails { static ArrivedDetails Create(string encrypted) { return DataProtect.deserializeXML(...) } }