User Profile

Collapse

Profile Sidebar

Collapse
wdrone
wdrone
Last Activity: May 18 '07, 05:13 PM
Joined: May 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • wdrone
    replied to VB.Net-Winform: Unable to pass IList by value
    in .NET
    After reading more and more and more MSDN docs. I think i have discovered the problem.

    According to this documentation
    http://msdn2.microsoft.com/en-us/lib...h4(VS.80).aspx

    "Reference type (contains a pointer to a class or structure instance)"
    "When passed ByVal the procedure cannot change the variable but can change members of the instance to which it points."

    ...
    See more | Go to post

    Leave a comment:


  • wdrone
    started a topic VB.Net-Winform: Unable to pass IList by value
    in .NET

    VB.Net-Winform: Unable to pass IList by value

    At the risk of sounding like one of the usual morons who claim everything that goes wrong in their code is a bug - I am nearly convinced the following situation is a bug in VB.NET (and if its not it should be better documented)

    I have written a simple function to find the difference between 2 lists (list1 - list2)

    Code:
    Public Shared Function ListDifference(ByVal list1 As IList, ByVal list2 As IList) As IList
    ...
    See more | Go to post
    Last edited by wdrone; May 18 '07, 04:20 PM. Reason: Better Title
No activity results to display
Show More
Working...