开发者

How to store data in memory [closed]

It's difficult to tell what is being asked here. This questio开发者_如何学Cn is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I am reading data from wordpad one by one which records the sale of grocery item by barcode. I want to store it in memory so that after reading the whole file I can calculate the total number of the same items sold by comparing the bar code.


Memory. There are several types of memory.

Any variable is a type of memory storage so one answer could be

dim s as string = "hi"

You can also use files as "memory"

Take a look at this


You should make a class to store your items, then use a List(Of T) to hold instances of the class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜