Looking around class 3 pdf

How can I create temporary objects to pass around without explicitly creating a class? Looking around class 3 pdf frequently find myself having a need to create a class as a container for some data.

It only gets used briefly yet I still have to create the class. Feed for question ‘How can I create temporary objects to pass around without explicitly creating a class? 35a7 7 0 1 1 1. 9 2 2 2h16a2 2 0 0 0 2-2v-4. 44A2 2 0 0 0 15.

68A1 1 0 0 1 5. 12a1 1 0 0 1 . M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm. 69a4 4 0 0 0-. 29 0 0 1 1. 34 0 0 0 .

8 0 0 0 2. 07A8 8 0 0 0 8. 8 0 0 1 0-3. 83a8 8 0 0 0 0 7. 3A8 8 0 0 0 1. 77 0 0 1 4. Usually my temporary objects have a lot more properties, which is the reason I want to group them in the first place.

I wish there was an easier way, such as with an anonymous type. The problem is, I don’t know what to accept when I pass it to another method. The type is anonymous, so how am I supposed to accept it on the other side? I have intellisense on the temp object as long as I’m in the scope of this method.

Can’t get my anonymous type here. And even if I could I doubt I would have intellisense. Is there a better way to create a temporary container for a bunch of different types, or do I need to define classes every time I need a temporary object to group things together? Use comments to ask for more information or suggest improvements.

Avoid answering questions in comments. Yes this would be more along the lines of what I’m looking for. 0 although it only lets you have two ‘members’. I am going with this answer because it really is exactly what I was asking for. However, I don’t really intend to use it because after putting it in practice I decided it wasn’t very readable.