In your comment you added the most valuable piece of information to the question.
Quote:
IntelliSense of Visual Studio 2013 only displays following possibilities
- Equals
- GetHashCode
- GetType
- ToString
This is because the members (properties) of the struct are set to the default
private
accessor (mock me if these public, private are called something else I am not good in this one). You need to set them to
public
. So that everything that access them. This means that Visual Studio's IntelliSense was not able to fetch any of the members or properties for you to use and thus only 4 options were provided, which are (AFAIK) inherited from
System.Object
.
They are really very lengthy, but I can show you an example.
public int iVnum;
public int iPrice;
Now they will be accessible by the code. Every member or property or function that you set to be public can be accessed. You can learn more on these,
here on MSDN[
^].