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
Memory Leak in Poping Modal View Controller
Caml Query on Item versiion History
2 selects in a stored proc
Unable to open Excel files...recieving error " Repairs to PDFMaker.xla
Office 2003 Clip Art not working
Server security analysis to determine patch level
How does one preload an entire image directory?
ACT 2009! registration error, windows 7 (exception error popup)
passing variable from client to webservice procedure
QOS And routing behind a bridged device on Cisco 2800 series router