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
E

Eric Dahlvang

@Eric Dahlvang
About
Posts
669
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to increase concurrent parallel tasks with System.Threading.Parallel (.Net 4.0)
    E Eric Dahlvang

    quote:

    var query = from item in source.AsParallel().WithDegreeOfParallelism(10)
    where Compute(item) > 42
    select item;

    In cases where a query is performing a significant amount of non-compute-bound work such as File I/O, it might be beneficial to specify a degree of parallelism greater than the number of cores on the machine. from: MSDN[^]

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    C# csharp asp-net tutorial

  • multiple lines string
    E Eric Dahlvang

    dr[i - 1] = " " + fieldValues[i].Replace("\n","\n ");

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    C# question

  • Newbie Question
    E Eric Dahlvang

    Digital Signature -- see here: http://www.kinook.com/blog/?p=10[^]

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    C# sysadmin question

  • Converting a nullable type to a non nullable type
    E Eric Dahlvang

    System.Linq

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    C# com data-structures question

  • Converting a nullable type to a non nullable type
    E Eric Dahlvang
            var nullableDoubles = new double?\[2\]\[\];
            nullableDoubles\[1\] = new double?\[\]{null, 1.1, null, 1.2};
    
            double\[\]\[\] nonNullableDoubles = nullableDoubles.Select(doubleArray=>{
                    if(doubleArray==null)
                        return null;
                    else
                       return doubleArray.Where(doubleValue => doubleValue.HasValue).Cast<double>().ToArray();}).ToArray();
    

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    C# com data-structures question

  • User Control Question - Changing Location and Size
    E Eric Dahlvang

    I'm not sure I understand your question. Does the following not work for you?

    var myUsercontrol = new UserControl1();
    myUsercontrol.Size = new Size(130,150);
    myUsercontrol.Location = new Point(10,30);

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    C# question visual-studio json help

  • Oh yeah!!!
    E Eric Dahlvang

    Michael Martin wrote:

    She's not as interesting as Oh Yeah.

    LOL...That just proves that you don't know her.

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Lounge question

  • Oh yeah!!!
    E Eric Dahlvang

    Christina says: holy shit those guys are huge nerds! they are still going on about the oh yeah ----- Ha! Apparently my girlfriend likes Geeks, but sees a difference between them and Nerds.

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Lounge question

  • Oh yeah!!!
    E Eric Dahlvang

    Christina says: I <3 computer geeks.. Eric says: lol Eric says: why? Christina says: just do Eric says: i want some reasons, dammit Christina says: must be your soft hands

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Lounge question

  • Ok, who doesn't want one of these?
    E Eric Dahlvang

    They're missing an h.

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Lounge html com question announcement

  • MSDN Documentation Error
    E Eric Dahlvang

    Red Stateler wrote:

    I wonder if all those global warming scientists used that code.

    :laugh::laugh::laugh:

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Lounge csharp c++ html com

  • MSDN Documentation Error
    E Eric Dahlvang

    Surprise! Surprise! IComparable.CompareTo Method[^] Many of you may already be aware of this one, but notice how the Visual Basic and C# examples differ from the C++ example. (See Celsius property) Rediculous.

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Lounge csharp c++ html com

  • How to find index of character or substring in a string class
    E Eric Dahlvang

    Mark Nischalke wrote:

    How is your response different than the one posted two hours before you?

    Actually, it was only one hour and 59 minutes.

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    C# csharp tutorial database dotnet

  • Programming Divide
    E Eric Dahlvang

    "[Mozart] around the time when he was five or six years old, he could play the piano blindfolded and with his hands crossed over one another." Wiki[^] Other people can learn to play as well, but it takes time, effort, blood sweat and tears. I think programming is similar. Some people just get it. When they sit down to develop in a new technology, it is as if they wrote the environment and language. It comes naturally. Others can develop the same ability, it just takes more time. That's my 2¢.

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Lounge com question discussion announcement

  • A lounge drop out [modified]
    E Eric Dahlvang

    Weiye Chen wrote:

    i think my freaking company blocked the Lounge!!

    Time to look for a new job.

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Back Room

  • Directtv or stick with cable?
    E Eric Dahlvang

    TV rots your brain. :)

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Lounge css help question

  • New Job
    E Eric Dahlvang

    brianwelsch wrote:

    Congrats, man!

    Thanks.

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Lounge com question career

  • New Job
    E Eric Dahlvang

    JimmyRopes wrote:

    Time will tell!

    Well, I worked with a couple of the guys for a few years awhile back. I know them well enough. Thanks for the encouragement though. :)

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Lounge com question career

  • New Job
    E Eric Dahlvang

    Marc Clifton wrote:

    Sounds like it can only go downhill from here.

    Not to badmouth my previous employer, but it couldn't get worse than that. Thanks for the encouragement though. :)

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Lounge com question career

  • New Job
    E Eric Dahlvang

    See this post from July for a little background:clickety[^] Finally started a new job yesterday. I'm ecstatic! Higher pay Better project Better hours More benefits Newer technology Great coworkers and employer And...I can post in the Lounge and SoapBox again. :) This is a good week.

    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

    The Lounge com question career
  • Login

  • Don't have an account? Register

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