Click here to Skip to main content
15,888,031 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: T-SQL for everything?? Pin
HimaBindu Vejella20-Apr-06 20:47
HimaBindu Vejella20-Apr-06 20:47 
AnswerRe: T-SQL for everything?? Pin
JimRoss2-May-06 11:51
JimRoss2-May-06 11:51 
QuestionGame server? Pin
Gwedion18-Apr-06 17:11
Gwedion18-Apr-06 17:11 
QuestionGetting the right permissions set up to use windows forms in aspx???? Pin
coder62618-Apr-06 9:28
coder62618-Apr-06 9:28 
QuestionRun service through svchost Pin
_maniaque18-Apr-06 8:30
_maniaque18-Apr-06 8:30 
AnswerRe: Run service through svchost Pin
Dave Kreskowiak19-Apr-06 5:45
mveDave Kreskowiak19-Apr-06 5:45 
QuestionUserControl Data binding & BindingSource.EndEdit() Effect Pin
Sassan Komeili Zadeh18-Apr-06 3:02
Sassan Komeili Zadeh18-Apr-06 3:02 
QuestionQuestion: How to specify default property to debugger? Pin
Guido_d18-Apr-06 2:03
Guido_d18-Apr-06 2:03 
Hi,

Does anyone know how to specify the default property on a class?

For instance.

I have a class called MyClassType with two properties, Name and Age. When debugging I
can move my mouse over a variable of this type, eg:

MyClassType mc = new MyClassType();

mc.Name="john";
mc.Age=100;

When I move the mouse at runtime over the last line and it will say: " mc = {MyClassType} "

However, with certain classes from the framework, eg string, enum, ArrayList etc it will show the value of one of its members. For this class it should look like:

mc {Name="john"}

Does anyone know which attribute I should use to enable this behaviour? This should save a lot of time in pressing ctrl-q and finding the correct member Smile | :) I tried decompiling the arraylist class but that didn't reveal any info.




AnswerRe: Question: How to specify default property to debugger? Pin
Dave Kreskowiak18-Apr-06 2:32
mveDave Kreskowiak18-Apr-06 2:32 
GeneralRe: Question: How to specify default property to debugger? Pin
Ricardo Casquete19-Apr-06 2:36
Ricardo Casquete19-Apr-06 2:36 
GeneralRe: Question: How to specify default property to debugger? Pin
Dave Kreskowiak19-Apr-06 5:42
mveDave Kreskowiak19-Apr-06 5:42 
GeneralRe: Question: How to specify default property to debugger? Pin
Ricardo Casquete19-Apr-06 6:23
Ricardo Casquete19-Apr-06 6:23 
GeneralRe: Question: How to specify default property to debugger? Pin
Guido_d19-Apr-06 23:11
Guido_d19-Apr-06 23:11 
GeneralRe: Question: How to specify default property to debugger? Pin
Dave Kreskowiak20-Apr-06 2:34
mveDave Kreskowiak20-Apr-06 2:34 
Questioncreating cd-rom database application Pin
vijayendra_shinde18-Apr-06 0:12
vijayendra_shinde18-Apr-06 0:12 
AnswerRe: creating cd-rom database application Pin
Dave Kreskowiak18-Apr-06 2:24
mveDave Kreskowiak18-Apr-06 2:24 
QuestionLow level operations to devices Pin
fvalerin17-Apr-06 9:48
fvalerin17-Apr-06 9:48 
AnswerRe: Low level operations to devices Pin
Dan Neely17-Apr-06 10:40
Dan Neely17-Apr-06 10:40 
QuestionConverse of measurestring Pin
deletethisprofile17-Apr-06 6:18
deletethisprofile17-Apr-06 6:18 
AnswerRe: Converse of measurestring Pin
Guffa17-Apr-06 6:42
Guffa17-Apr-06 6:42 
QuestionASP.NET not working Pin
Petals16-Apr-06 19:59
Petals16-Apr-06 19:59 
AnswerRe: ASP.NET not working Pin
Ravi Bhavnani16-Apr-06 20:12
professionalRavi Bhavnani16-Apr-06 20:12 
GeneralRe: ASP.NET not working Pin
Kevin McFarlane22-Apr-06 5:21
Kevin McFarlane22-Apr-06 5:21 
Questionvisual studio.net 2003 script engine error on parsing script file Pin
Shahid_78615-Apr-06 6:25
Shahid_78615-Apr-06 6:25 
AnswerRe: visual studio.net 2003 script engine error on parsing script file Pin
Dave Kreskowiak16-Apr-06 1:58
mveDave Kreskowiak16-Apr-06 1:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.