Adding a class to a library in c# [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
So I've downloaded a source code from projectcode.com and it's name is BigInteger.cs and it contains codes needed for working with integers beyond UInt64. How can I use it in my projects?And please be noob-friendly in your answers, I've started learning 3 days ago ...
Thanks for your help in advance.

Ideally, you'd want to use BigInteter class from .Net Framework. If you need decimal precision as well, there is no standard BigDecimal available, but a few workarounds can be found here.
If you still want to use that project, you have several options:
Download an assembly file and reference it in your project
Download source code, build it, reference output assembly in your project
Download only the needed file, provided it is self-contained, add it to your project and use it
In any case make sure to follow the license terms.

Related

How to compile one project's code from another project [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 months ago.
Improve this question
I'm working on a project that contains 2 C# solution projects, the first solution includes a design that is supposed to be an EXE Builder and the second solution project is the one I want to be built using the first solution.
I want to build the second project's EXE file using the first solution while editing some values (Resources or strings whatever is better) in the Second solution that will be compiled.
I'm not sure how to do that there are no tutorials for this, the essential thing is that I want to make an EXE Builder while at the same time editing some settings in it without having to rely on other external files.
The concept is quite similar to Remote Access Tools Builder, but what I'm building is an obfuscator & encryptor

How to use the automatic set up feature in Visual Studio and how reference a file location automatically [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
Okay, so hopefully the issue was explained properly in the title, but if not then basically in my program I have an array which is loaded with a ton of data straight off a .csv file when the program is launched and so I need to make it so that when the set up is run the file destination of the .csv in the code is correct.
Otherwise it won't load the array with anything and so ultimately my question is how do I do that? Here are some screenshots of what I've already tried, and some snippets of code, if anyone could even point me in the direction of a YT video that may even be helpful enough, thanks StackOverflow users. https://pastebin.com/cEmZxujx
Maybe check the reference with
System.IO.File.Exists("filename")

need help using dll in Visual Studio (C#) [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am trying to use an dll, i added a reference to it and then tried to use it in my project, but it says that it doesnt recognize the name space. Sorry i am not really experienced.
The using directive requires a namespace. Namespaces are separated by dots, making Fasm.NET two namespaces where NET would be a child of Fasm, which I guess is not the case for the library. The IntelliSense menu should show you examples of existing namespaces once you type the first character(s).
Though, judging from the Fasm library's sources it seems the complete namespace is:
Binarysharp.Assemblers.Fasm
Try that in your using statement and it should work.

How To Use A Custom Library? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to use compression of some files but GZipStream can not archive many files in one zip only! So I want to use this
http://icsharpcode.github.io/SharpZipLib/
But I have no idea how to install/use/import custom libraries. What should I do?
Right-click your project and select "Manage NuGet Packages..."
Search for "SharpZipLib".
When it populates the list, install it
The installation process should add the necessary reference[s] to your project's References folder
You might then need to add a "using" for the library to the class where you want to add the code. It's possible, though, that you can just right-click the code and select "Resolve" to have the "using" automatically added for you.
Then look at the library authors' documentation for usage.

how to edit method of dll file for asp.net project [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have xgeno.mvc.utilities dll in my project references. I want to edit one of the method of this dll.
Can I do this?
You have to use a decompiler for this which has many variants on the web (there's google) and then make the modifications on the decomplied files and then compile it again and then point that newly compiled dll to your project
You need something like .NET Reflector, but since it is not free, you will probably want to look for free alternatives. See Here some discussion wich can help in the search.

Categories

Resources