[Last Call] Learn how to a build a cloud-first strategyRegister Now


VS C# Basic Question about Objects

Posted on 2012-09-06
Medium Priority
Last Modified: 2012-09-07
Where can I find documentation on these various options when you click Project->Add Items in VS? My immediate need is to create a file full of functions that can be shared amongst projects. Can anyone point to sample code just so I can see the idea of how it is done? I have a series of programs that I have been reviewing and there are functions that are repeated in most of them. I would like to put them all into one code file and then include that code file into the various programs.

For a file full of functions do I choose the code file type and then just put the code for the functions in there? How do I then get them to be recognized by the other programs that need them?
Question by:rwheeler23
LVL 55

Assisted Solution

by:Jaime Olivares
Jaime Olivares earned 400 total points
ID: 38374878
The normal practice is to prepare a DLL project with all the common classes in one or several Code files (.cs). After that, include a reference to that DLL in all the projects you need it.
LVL 11

Accepted Solution

Deepak Lakkad earned 1600 total points
ID: 38375406

following link contains a simple tutorial for creating DLL files and using in projects.


I think this will be helpful to you

- Deepak Lakkad

Author Closing Comment

ID: 38376072
Thank you. I will keep learning.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question