473,320 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Project Structure And Namespaces

Hello,

I got confused with all the folders generated by VS and the way it handles
namespaces, my project simply consists of a control library and an
application that uses it, my namespaces is like that:

so in the control library I used this namespace:
namespace Xeen {
namespace UI{
public class ListBoxEx { ...

and in my application
namespace Xeen {
public partial class Form1 : Form {
is this the right to handle the project structure, and how should I organize
my folders, do I place the control library in the main application folder or
in a separate folder?

Yehia A.Salam

Sep 28 '06 #1
1 1019
Hello Yehia A.Salam,

YI got confused with all the folders generated by VS and the way it
Yhandles namespaces, my project simply consists of a control library
Yand an application that uses it, my namespaces is like that:
Y>
Yso in the control library I used this namespace:
Ynamespace Xeen {
Ynamespace UI{

Why do u use nested namespace? just use Xeen.UI

Ypublic class ListBoxEx { ...
Yand in my application
Ynamespace Xeen {
Ypublic partial class Form1 : Form {
Yis this the right to handle the project structure, and how should I
Yorganize my folders, do I place the control library in the main
Yapplication folder or in a separate folder?

it's up to u. It's better to use folder to divide projects rather then namespaces.
Namespace is more logical marker

---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Sep 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Evgeny Zoldin | last post by:
Hi, ALL I've developed some prjoect ( VB.NET ) , let Project1, and created for that Setup project, let Setup1. Installed it on a clear mashine - PC1. Then I decided to develop that futher as...
3
by: Tom Kelleher | last post by:
Question: Can namespaces be shared by several projects within a solution, if those projects use different languages? We wrote some db code in C#, and some biz logic in VB.NET. We brought both...
18
by: JKop | last post by:
Here's what I know so far: You have a C++ project. You have source files in it. When you go to compile it, first thing the preprocessor sticks the header files into each source file. So now...
1
by: Steven T. Hatton | last post by:
I think Danny was one cup of coffee shy of full consciousness when he wrote this, but the gist of it makes sens to me: "C++ Project Organization Guidelines Last updated May 26, 2005....
3
by: Charlie Calvert | last post by:
I'm new to C# and am used to Java, where there is a correspondence between package names and directories. I'm having trouble creating the same functionality in Visual Studio. In particular, I'm...
2
by: Mr Flibble | last post by:
If you have the namespaces foo.bar.x foo.bar.y foo.bar.z You could put these all in one project called foo.bar or you could create a project for each. I've just realised that I have quite a...
49
by: Martin Unsal | last post by:
I'm using Python for what is becoming a sizeable project and I'm already running into problems organizing code and importing packages. I feel like the Python package system, in particular the...
24
by: =?Utf-8?B?RHIuIFMu?= | last post by:
I am incorporating three existing programs into a new "all in one" program. I have added the three projects to the new all in one project. How do I instruct the new initial menu to launch the main...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.