简体   繁体   中英

C# Classes, export to Excel

Is it possible to export my classes to excel?

I need to have class name with all properties. I have Resharper and VS 2015 on my system.

I've searched this before and found this How Can I export the list of classes from a Visual studio 2008 solution which is not my case.

I would prefer to have each class in a sheet and the properties as rows of the sheet if possible.

PS: I know how to do it pro grammatically. I am looking for a way to do this simple task using Visual Studio. This is not the functionality of my project, so it is not a good idea

Follow these links To get all classes :

How to get all classes within namespace?

Get the property list from each class using Reflaction

How to get the list of properties of a class?

After that search for export to excel.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM