Click here to Skip to main content
15,891,529 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Creating a forum in ASP.NET Pin
David Mujica15-Apr-10 9:45
David Mujica15-Apr-10 9:45 
QuestionHttpResponse Pin
hb5213421414-Apr-10 11:12
hb5213421414-Apr-10 11:12 
AnswerRe: HttpResponse Pin
Gregory Gadow15-Apr-10 3:34
Gregory Gadow15-Apr-10 3:34 
GeneralRe: HttpResponse Pin
hb5213421415-Apr-10 4:07
hb5213421415-Apr-10 4:07 
QuestionC# webform help Pin
Jordan McGehee14-Apr-10 9:00
Jordan McGehee14-Apr-10 9:00 
AnswerRe: C# webform help Pin
Not Active14-Apr-10 10:11
mentorNot Active14-Apr-10 10:11 
GeneralRe: C# webform help Pin
Jordan McGehee14-Apr-10 10:31
Jordan McGehee14-Apr-10 10:31 
GeneralRe: C# webform help Pin
Not Active14-Apr-10 16:18
mentorNot Active14-Apr-10 16:18 
Although there is nothing wrong technically with the address class, it is a very poor example. The use of getter and setter methods rather than properties is poor design and shows little understanding of .NET. As I said before, throw this example code away and don't listen to the person who recommended it.

This example makes use of .net automatic properties, i.e. no backing field
public class Address
{
   public string Street{ get; set; }
   ...
}


This example uses a backing field
public class Address
{
  private string m_Street;
  public string Street
  {
    get{ return m_Street; }
    set{ m_Street = value; }
  }
}


I know the language. I've read a book. - _Madmatt

QuestionHow to access RDLC matrix subtotal value? Pin
JimFeng14-Apr-10 7:07
JimFeng14-Apr-10 7:07 
AnswerRe: How to access RDLC matrix subtotal value? Pin
Sandeep Mewara14-Apr-10 21:17
mveSandeep Mewara14-Apr-10 21:17 
GeneralRe: How to access RDLC matrix subtotal value? Pin
JimFeng15-Apr-10 3:06
JimFeng15-Apr-10 3:06 
Questiongridview Pin
tek 200914-Apr-10 5:52
tek 200914-Apr-10 5:52 
AnswerRe: gridview Pin
Not Active14-Apr-10 5:59
mentorNot Active14-Apr-10 5:59 
QuestionRe: gridview Pin
tek 200914-Apr-10 6:21
tek 200914-Apr-10 6:21 
AnswerRe: gridview Pin
Not Active14-Apr-10 8:30
mentorNot Active14-Apr-10 8:30 
AnswerRe: gridview Pin
David Mujica14-Apr-10 6:09
David Mujica14-Apr-10 6:09 
QuestionCurrent theme Pin
paper6714-Apr-10 5:12
paper6714-Apr-10 5:12 
AnswerRe: Current theme Pin
michaelschmitt14-Apr-10 5:27
michaelschmitt14-Apr-10 5:27 
GeneralRe: Current theme Pin
paper6714-Apr-10 6:05
paper6714-Apr-10 6:05 
GeneralRe: Current theme Pin
michaelschmitt14-Apr-10 23:25
michaelschmitt14-Apr-10 23:25 
GeneralRe: Current theme Pin
paper6715-Apr-10 2:55
paper6715-Apr-10 2:55 
GeneralRe: Current theme Pin
michaelschmitt15-Apr-10 3:28
michaelschmitt15-Apr-10 3:28 
GeneralRe: Current theme Pin
paper6715-Apr-10 4:54
paper6715-Apr-10 4:54 
GeneralRe: Current theme Pin
michaelschmitt15-Apr-10 6:35
michaelschmitt15-Apr-10 6:35 
GeneralRe: Current theme Pin
paper6715-Apr-10 6:52
paper6715-Apr-10 6:52 

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.