473,378 Members | 1,397 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,378 software developers and data experts.

doubt in c sharp

Please clarify My doubt..

1) How to find out whether the component devekopment in Csharp is in
Relase Mode or Run Mode?

2) Like Class Id in C++ , what the Unique Id for C-shap Component?

Nov 15 '05 #1
4 1594
Baskar,
1) How to find out whether the component devekopment in Csharp is in
Relase Mode or Run Mode?
What's your definition of "release mode" vs "run mode"?

2) Like Class Id in C++ , what the Unique Id for C-shap Component?


The combination of the assembly name and the fully qualified type name
identifies a managed type. If you want it to be unique, make sure you
give your assembly a strong name.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Nov 15 '05 #2
Baskar,

To find out whether or not a component is in design mode or run mode you
can use the DesignMode property on the Component class.

The closest thing to a unique id in .NET would be the type name, which
can be obtained through the FullName property on the Type instance which
represents the type of the class.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Baskar RajaSekharan" <rb*@srasys.co.in> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Please clarify My doubt..

1) How to find out whether the component devekopment in Csharp is in
Relase Mode or Run Mode?

2) Like Class Id in C++ , what the Unique Id for C-shap Component?

Nov 15 '05 #3
Hi,

My Question is How to check whether the Component developed in C-Sharp
is in Debug Mode or ReleaseMode. Based on that i want to perform certain
operation's.

Regards,
R.Baskar

"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:eb**************@TK2MSFTNGP12.phx.gbl...
Baskar,
1) How to find out whether the component devekopment in Csharp is in
Relase Mode or Run Mode?


What's your definition of "release mode" vs "run mode"?

2) Like Class Id in C++ , what the Unique Id for C-shap Component?


The combination of the assembly name and the fully qualified type name
identifies a managed type. If you want it to be unique, make sure you
give your assembly a strong name.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.

Nov 15 '05 #4
Hi,

Can you give some example for the 2nd Question. How to get the FullName
property on the Type of instance?

Regards,
R.Baskar
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:Ou**************@TK2MSFTNGP12.phx.gbl...
Baskar,

To find out whether or not a component is in design mode or run mode you can use the DesignMode property on the Component class.

The closest thing to a unique id in .NET would be the type name, which
can be obtained through the FullName property on the Type instance which
represents the type of the class.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Baskar RajaSekharan" <rb*@srasys.co.in> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Please clarify My doubt..

1) How to find out whether the component devekopment in Csharp is in
Relase Mode or Run Mode?

2) Like Class Id in C++ , what the Unique Id for C-shap Component?


Nov 15 '05 #5

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

Similar topics

6
by: Baskar RajaSekharan | last post by:
In C-sharp, I wnat to know whether the Component is compiled in Debug Mode or Run Mode through Code. How is it possible? Is there any way to Access the Config file and check? Please let me know...
1
by: Baskar RajaSekharan | last post by:
Hi, Please let me know is ther any way to pass some default parameters to a Method in C-Sharp without overloading the Method. In VB we can done the above with the help of optional parameter . ...
5
by: Baskar RajaSekharan | last post by:
Hi, Please let me know is ther any way to pass some default parameters to a Method in C-Sharp without overloading the Method. In VB we can done the above with the help of optional parameter . ...
1
by: Baskar RajaSekharan | last post by:
Hi, I create one new file called 1.txt using either FileStreamObject or FileInfo object. I wite some content into the Text. After that I want to Erase all the content without deleting the File....
1
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: 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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.