Microsoft
Software
Hardware
Network
Question : Expression is a value and therefore cannot be the target of an assignment vb.net
Public Structure _cache
Public loading As Boolean
End Structure
Public Class Server
Public _cache_List As New List(Of _cache)()
...
For index As Int16 = 0 To _cache_List.Count - 1
_cache_List(index).loading
= false '--> error
Next
"Expression is a value and therefore cannot be the target of an assignment "
what was wrong in the code above?
Answer : Expression is a value and therefore cannot be the target of an assignment vb.net
Structures are fundamentally different from classes in that they are value-types rather than reference types. Whether or not you need a struct rather than a class depends largely on its intended use.
Random Solutions
Script to enable folder auditing
Splitting db and performance
basic quadratic question
Change LDAP log level on Snow Leopard
Hyperlink issues
Outlook 2007 duplicate contacts created when importing from .csv
Start internet Radio
Spam black list removal " dnsbl.burnt-tech.com"
Setting up Entourage 08 with Exchange 2007
Move Mailbox Powershell Script (sending Welcome e-mail HTML format)