如何在项目中使用代码帮助程序? [英] How do I use a code helper in my project?

查看:61
本文介绍了如何在项目中使用代码帮助程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很抱歉,我对Coding非常陌生,特别是C#。

我在这里发现了一些非常有用的工具,例如:这: C#硬件助手库 [ ^ ]。

我的问题现在是,我如何在我的代码中使用它?



我尝试过:



我试图谷歌,但甚至不知道如何调用这些工具..

Sorry, but im really new to Coding and especially to C#.
I found some really helpful "tools" here e.g. this: Hardware Helper Library for C#[^].
My Question now is, how do i use this in my Code?

What I have tried:

I tried to google but dont even know how these "tools" are called..

推荐答案

尽管NPC脾气暴躁,但他的观点是还是有效。你问的是非常基本的问题,这些问题表明你对编程知之甚少,或者对C#/ Visual studio知之甚少。无论哪种方式,标有快速答案的论坛都不是学习如何编程的好方法。



你的链接字面上告诉你如何实现提供的代码



C#硬件助手库 [ ^ ]



要使用HardwareHelperLib,只需将HardwareHelperLib.csproj文件添加到您的解决方案中,然后在工作室中引用该项目。在源代码的开头添加using子句文件,你就可以开始了。



在你的编程工作中,一些批判性思维会随之而来。现在,如果您开始处理项目并且您的代码存在合理问题,那么请随时返回一些代码示例并清楚地解释您的问题。



但是现在,那篇文章准确地解释了你的要求。
Even though NPC comes off grumpy, his point is still valid. You are asking extremely basic questions which show that you either don't know much about programming or don't know much about C#/Visual studio. Either way a forum labeled quick answers is not a good way to learn how to program.

Your link literally tells you how to implement the code provided

Hardware Helper Library for C#[^]

"To use the HardwareHelperLib, just add the HardwareHelperLib.csproj file to your solution, and then reference that project in the studio. Add a using clause to the beginning of your source file and you will be ready to go."

A little critical thinking will go along way in your programming endeavors. Now if you get into working on your project and you have a legitimate issue with your code, then feel free to come back with some code samples and a clear explanation of your issue.

But for now, that article explains exactly what you are asking.


阅读文章:它给出了完整的说明。标题为使用代码的部分

如果这对你没有帮助,那么 - 正如NotPolitcallyCorrect所说 - 你需要回到基础知识并在开始尝试使用高级技术之前先学习它们东西。如果你在基础知识方面没有良好的基础,那么你所尝试的任何事情都不会特别好 - 就像第一次驾驶汽车绕过街区一样并不意味着你在F1中表现不错!
Read the article: it gives full instructions in the section headed "Using the Code"
If that doesn't help you, then - as NotPolitcallyCorrect has said - you need to go back to the basics and learn them well before you start trying to work with advanced stuff. If you don't have a good grounding in the basics then nothing you try will work particularly well - just as driving a car round the block for the first time doesn't mean you would do well in F1!


这篇关于如何在项目中使用代码帮助程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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