Hello,
I'm still working on my self-aware classes for database communication, and I have an issue that I'd like to see clarified.
i've been reading some more about the C# programming, and came across the stuff regarding "boxing and unboxing" of variables. And if I understand that concept correctly, I think it applies to the following situation:
I have a class called Cell. It holds a string for the columnname and 2 objects for the value and the old_value.
I'm sure that if I obtain and store the data each time in these objects, I'm bound to disaster performance wise with the boxing & unboxing concept.
Is there a solution that allows me to store any kind of data in a variable without having to go around the boxing & unboxing stuff?
I'm still working on my self-aware classes for database communication, and I have an issue that I'd like to see clarified.
i've been reading some more about the C# programming, and came across the stuff regarding "boxing and unboxing" of variables. And if I understand that concept correctly, I think it applies to the following situation:
I have a class called Cell. It holds a string for the columnname and 2 objects for the value and the old_value.
I'm sure that if I obtain and store the data each time in these objects, I'm bound to disaster performance wise with the boxing & unboxing concept.
Is there a solution that allows me to store any kind of data in a variable without having to go around the boxing & unboxing stuff?
Comment