Csharp
Csharp

Reputation: 2982

Creating a customized namespace in C# asp.net

To preface, I need to say that I am still in the learning stagings of asp.net

I need to create a custom namespace where I can place my DataObject.cs file
The namespace is .Components.Data

How do I go about doing this?

Thanks in advance

Upvotes: 0

Views: 541

Answers (1)

SLaks
SLaks

Reputation: 888293

Put your class inside a namespace Components.Data { ... } block.

Upvotes: 1

Related Questions