Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
W

Wil Peck

@Wil Peck
About
Posts
8
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • First Impressions
    W Wil Peck

    The extra time you put into your resume to find the errors is really what I'm looking for and what I'm calling to question here. If someone doesn't care to take the time to review their resume thoroughly prior to submitting it for employment, why should I think they would do any different when they complete a development task? Thanks for your reply.

    The Lounge help question

  • First Impressions
    W Wil Peck

    Yea, I have seen this too. Seems like many of the agencies like to put their 'branding' into the CV. Pretty lame when they modify experience with the intent exaggerate a candidates abilities.

    The Lounge help question

  • First Impressions
    W Wil Peck

    I couldn't agree with you more. If I see SQL Management Enterprise when someone claims to be an expert in SQL Server 2000 I have to question the integrity of their statement.

    The Lounge help question

  • First Impressions
    W Wil Peck

    These are my thoughts as well. Thanks for confirming.

    The Lounge help question

  • First Impressions
    W Wil Peck

    With so many candidates on the market looking for work, it seems like first impressions would be of the utmost importance. Yet, I still am receiving resumes with numerous typos. I take these typos very seriously when considering a potential employee/contractor given the fact I may either have to maintain, modify, fix code they have written at some point. Am I over reacting?

    The Lounge help question

  • Data replication
    W Wil Peck

    We use XXCopy to replicate data across WAN with relatively good perf as well as some nice features like directory synchronization, etc... Good luck

    The Lounge question performance help announcement

  • Setting readonly values in structs within my struct
    W Wil Peck

    Sorry, I misread the first time.... Since those fields are readonly in addition to your list, you need to set them in the a constructor of the frog struct. You might try adding something like the following to your frog struct. public frog(int legs, int eyes) { this.legs = legs; this.eyes = eyes; } so your entire program would look like.... public struct foo { public readonly List<frog> al; public struct frog { public frog(int eyes, int legs) { this.eyes = eyes; this.legs = legs; } public readonly int legs; public readonly int eyes; } public foo(int unususedInt) { al = new List<frog>(); al.Add(new frog(2, 2)); } } Hope that solves your prob. Sorry it took me twice to get the problem. :)

    C# question html help

  • Setting readonly values in structs within my struct
    W Wil Peck

    JoeRip wrote:

    public foo(int unususedInt) { al = new List{{frog}}(); frog myFrog = new frog(); myFrog.legs = 2; myFrog.eyes = 2; al.Add(myFrog); }

    It looks like you have the legs and eyes fields on your struct set as readonly. I doubt the error you're encountering is being generated from writing to the list, but instead setting the properties on the frog instance. Hope this helps.

    C# question html help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups