Click here to Skip to main content
15,903,203 members
Home / Discussions / C#
   

C#

 
AnswerRe: to byte[] conversion? Pin
Eric Gunnerson (msft)31-May-03 16:34
Eric Gunnerson (msft)31-May-03 16:34 
GeneralRe: to byte[] conversion? Pin
stonee7431-May-03 17:01
stonee7431-May-03 17:01 
GeneralRe: to byte[] conversion? Pin
Eric Gunnerson (msft)1-Jun-03 7:05
Eric Gunnerson (msft)1-Jun-03 7:05 
GeneralRe: to byte[] conversion? Pin
stonee741-Jun-03 8:04
stonee741-Jun-03 8:04 
GeneralRe: to byte[] conversion? Pin
Eric Gunnerson (msft)3-Jun-03 9:43
Eric Gunnerson (msft)3-Jun-03 9:43 
GeneralResource Troubles (MissingManifestResourceException) Pin
gek_at31-May-03 2:02
gek_at31-May-03 2:02 
GeneralRe: Resource Troubles (MissingManifestResourceException) Pin
gek_at31-May-03 2:18
gek_at31-May-03 2:18 
GeneralRe: Resource Troubles (MissingManifestResourceException) Pin
David Stone31-May-03 6:23
sitebuilderDavid Stone31-May-03 6:23 
The first yeilds this:
public ResourceManager(string baseName, Assembly assembly)
{    
    StackCrawlMark mark1;
    base..ctor();
    if (baseName == null)
    {
        throw new ArgumentNullException("baseName");
    }
    if (assembly == null)
    {
        throw new ArgumentNullException("assembly");
    }
    this.MainAssembly = assembly;
    this._locationInfo = null;
    this.BaseNameField = baseName;
    this.CommonSatelliteAssemblyInit();
    mark1 = 1;
    this._callingAssembly = Assembly.nGetExecutingAssembly(mark1);
    if ((assembly == typeof(object).Assembly) && (this._callingAssembly != assembly))
    {
        this._callingAssembly = null;
    }
} 


The second:
public ResourceManager(Type resourceSource)
{
    StackCrawlMark mark1;
    base..ctor();
    if (resourceSource == null)
    {
        throw new ArgumentNullException("resourceSource");
    }
    this._locationInfo = resourceSource;
    this.MainAssembly = this._locationInfo.Assembly;
    this.BaseNameField = resourceSource.Name;
    this.CommonSatelliteAssemblyInit();
    mark1 = 1;
    this._callingAssembly = Assembly.nGetExecutingAssembly(mark1);
    if ((this.MainAssembly == typeof(object).Assembly) && (this._callingAssembly != this.MainAssembly))
    {
        this._callingAssembly = null;
    }
}


Maybe I'm not reading it right, but both of them look identical. Not quite sure why the second one didn't work...


Hawaian shirts and shorts work too in Summer.
People assume you're either a complete nut (in which case not a worthy target) or so damn good you don't need to worry about camouflage...

-Anna-Jayne Metcalfe on Paintballing

QuestionIf C# is Microsoft's answer to SUN's Java, then is C# Platform independent? Pin
Link260030-May-03 23:56
Link260030-May-03 23:56 
AnswerRe: If C# is Microsoft's answer to SUN's Java, then is C# Platform independent? Pin
Kannan Kalyanaraman31-May-03 0:56
Kannan Kalyanaraman31-May-03 0:56 
AnswerRe: If C# is Microsoft's answer to SUN's Java, then is C# Platform independent? Pin
David Stone31-May-03 6:15
sitebuilderDavid Stone31-May-03 6:15 
AnswerRe: If C# is Microsoft's answer to SUN's Java, then is C# Platform independent? Pin
FruitBatInShades31-May-03 23:57
FruitBatInShades31-May-03 23:57 
GeneralRe: If C# is Microsoft's answer to SUN's Java, then is C# Platform independent? Pin
Link26001-Jun-03 6:09
Link26001-Jun-03 6:09 
QuestionHow do I draw graphics on the StatusBar ? Pin
JeffSayHi30-May-03 21:27
JeffSayHi30-May-03 21:27 
AnswerRe: How do I draw graphics on the StatusBar ? Pin
James T. Johnson31-May-03 18:16
James T. Johnson31-May-03 18:16 
AnswerRe: How do I draw graphics on the StatusBar ? Pin
Manster2-Jun-03 9:45
Manster2-Jun-03 9:45 
GeneralHello Pin
Hussein Zahran30-May-03 8:04
Hussein Zahran30-May-03 8:04 
GeneralRe: Hello Pin
Jon Newman30-May-03 8:41
Jon Newman30-May-03 8:41 
GeneralRe: Hello Pin
Paul Watson31-May-03 4:11
sitebuilderPaul Watson31-May-03 4:11 
Generalconst vs static readonly Fields Pin
Nathan Blomquist30-May-03 6:46
Nathan Blomquist30-May-03 6:46 
GeneralRe: const vs static readonly Fields Pin
Eric Gunnerson (msft)30-May-03 13:19
Eric Gunnerson (msft)30-May-03 13:19 
GeneralApplication & Window positions Pin
BenjaminAlicea30-May-03 5:46
BenjaminAlicea30-May-03 5:46 
GeneralRe: Application & Window positions Pin
KingTermite30-May-03 6:38
KingTermite30-May-03 6:38 
GeneralRe: Application & Window positions Pin
Andy Smith30-May-03 8:43
Andy Smith30-May-03 8:43 
GeneralCombo boxes Pin
totig30-May-03 4:23
totig30-May-03 4:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.