如何知道VB .Net代码中已定义变量的数量 [英] How To Know The Numbers Of a Defined Variables in a VB .Net Code

查看:60
本文介绍了如何知道VB .Net代码中已定义变量的数量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近完成了由各种形式和模块组成的应用程序的编码,现在我想向我的顾问表示它,需要告诉他在整个代码中定义的静态变量的数量以及定义的所有变量的数量!

i have recently Finished Coding of an Application Consisting of Various Forms and Modules, Now that i want to represent it to my adviser in need to say him the number of static variables defined over the whole code and the number of all variables defined!

VB .net中是否有任何静态工具可以告诉我在编写代码时定义了多少个变量?

Is there any Statical tool in VB .net to tell me how many variables i have defined over the time of writing the code?

我在对应用程序进行编码时没有计算它们.

i have not counted them while coding the application.

谢谢您的答复.

推荐答案

我认为您应该手动计数

I think you should either manually count

使用查找全部"并使用变量声明语句,例如"Dim".等作为搜索字词

Use Find All and use the variable declaration statments like "Dim" etc. as search term

另一个选择是将类图拖放到项目中并拖放类,然后对其进行计数.但这只会显示全局变量和属性.

Another option is to drop a class diagram into the project and drag drop classes, and then count it. But this will only show the global variables and properties.


这篇关于如何知道VB .Net代码中已定义变量的数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆