Hello, Martijn!
MyString intialization will be put by Reflector into ctor aka class
constructor.
--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com
You wrote on Fri, 14 Sep 2007 13:32:46 +0200:
MM>>>> What tools and what strategy can one use to decompile a compiled
MM>>>> C#-project?
>> Hello, Martijn!
>> Use a search engine to query for Lutz Roeder's .NET Reflector.
MM> Hello Vadym,
MM> Lutz Roeder's .NET Reflector is cool indeed! When I examine the data
MM> members of a class, I do not see the contents. Example:
MM> class MyClass {
MM> string MyString="Mjortvyje doesji";
MM> }
MM> I can see there is a class MyClass that contains a string MyString,
MM> but
MM> I cannot see what is in the string.
Ben Voigt [C++ MVP] - 17 Sep 2007 18:28 GMT
> Hello, Martijn!
>
> MyString intialization will be put by Reflector into ctor aka class
> constructor.
Actually the C# compiler will put the initialization in the instance
constructor, and Reflector can't know where you want to see it, so it leaves
it there.
> --
> With best regards, Vadym Stetsiak.
[quoted text clipped - 21 lines]
> MM> but
> MM> I cannot see what is in the string.