i have a windows application under visual studio 2010 c#
i create a class with name book with 3 fields (name, writingDate, author)
i create another class with name book that is a list of book (List<book>)
when i retrieve books class data i need to know its size in byte
how can i do that?
Note: i try Marshal.SizeOf(books) but this error occurred
"Type 'System.Collections.Generic.List`1[books]' cannot be marshaled as
an unmanaged structure; no meaningful size or offset can be computed."
any help?