Click here to Skip to main content
15,919,613 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to extend System.Int32? Pin
leppie2-Jun-03 8:00
leppie2-Jun-03 8:00 
GeneralRe: How to extend System.Int32? Pin
Eric Gunnerson (msft)3-Jun-03 9:47
Eric Gunnerson (msft)3-Jun-03 9:47 
AnswerRe: How to extend System.Int32? Pin
leppie1-Jun-03 0:39
leppie1-Jun-03 0:39 
GeneralRe: How to extend System.Int32? Pin
David Stone2-Jun-03 9:50
sitebuilderDavid Stone2-Jun-03 9:50 
GeneralSetting Form's size problems Pin
Acidis31-May-03 11:38
Acidis31-May-03 11:38 
GeneralRe: Setting Form's size problems Pin
J. Dunlap31-May-03 11:42
J. Dunlap31-May-03 11:42 
GeneralRe: Setting Form's size problems Pin
Acidis31-May-03 11:47
Acidis31-May-03 11:47 
GeneralRe: Setting Form's size problems Pin
James T. Johnson31-May-03 18:06
James T. Johnson31-May-03 18:06 
GeneralRe: Setting Form's size problems Pin
Acidis31-May-03 19:36
Acidis31-May-03 19:36 
GeneralRe: Setting Form's size problems Pin
James T. Johnson31-May-03 19:59
James T. Johnson31-May-03 19:59 
GeneralMenue by Marc Clifton Pin
Frenchi31-May-03 9:46
Frenchi31-May-03 9:46 
GeneralRe: Menue by Marc Clifton Pin
Marc Clifton31-May-03 15:33
mvaMarc Clifton31-May-03 15:33 
GeneralRe: Menue by Marc Clifton Pin
Frenchi1-Jun-03 5:12
Frenchi1-Jun-03 5:12 
Questionto byte[] conversion? Pin
stonee7431-May-03 3:38
stonee7431-May-03 3:38 
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 

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.