Click here to Skip to main content
15,913,221 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sending Mail using MAPI Pin
M. J. Jaya Chitra10-Oct-07 18:07
M. J. Jaya Chitra10-Oct-07 18:07 
QuestionRe: Sending Mail using MAPI Pin
TJoe11-Oct-07 2:21
TJoe11-Oct-07 2:21 
AnswerRe: Sending Mail using MAPI Pin
M. J. Jaya Chitra11-Oct-07 2:29
M. J. Jaya Chitra11-Oct-07 2:29 
GeneralRe: Sending Mail using MAPI Pin
TJoe11-Oct-07 3:01
TJoe11-Oct-07 3:01 
GeneralRe: Sending Mail using MAPI Pin
M. J. Jaya Chitra11-Oct-07 17:52
M. J. Jaya Chitra11-Oct-07 17:52 
GeneralRe: Sending Mail using MAPI Pin
TJoe12-Oct-07 1:57
TJoe12-Oct-07 1:57 
Questionthe static keyword Pin
Dextter10-Oct-07 0:28
Dextter10-Oct-07 0:28 
AnswerRe: the static keyword Pin
Christian Graus10-Oct-07 0:31
protectorChristian Graus10-Oct-07 0:31 
ObinnaAj wrote:
What does it mean to make a DataSet static?


Hi, Obinna. In an ASP.NET project, this makes no difference, because of how ASP.NET works. In general, it means that if you have a class like this:

class Widget
{
public static int widgetCount = 0;
}

then the value of widgetCount is the same across all instances of the program. If the Widget constructor looked like this:

public Widget()
{
++widgetCount;
}

Then, every widget would have the same value, and it woild not be 1, it would be equal to the number of widgets that had been created. In fact, in C#, if you do this:


Widget w = new Widget();
int n = w.widgetCount;

The compiler would not allow it. You need to do this:

int n = Widget.widgetCount;



Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: the static keyword Pin
N a v a n e e t h10-Oct-07 0:51
N a v a n e e t h10-Oct-07 0:51 
GeneralRe: the static keyword Pin
Christian Graus10-Oct-07 0:57
protectorChristian Graus10-Oct-07 0:57 
AnswerRe: the static keyword Pin
Guffa10-Oct-07 1:13
Guffa10-Oct-07 1:13 
GeneralRe: the static keyword Pin
Christian Graus10-Oct-07 1:19
protectorChristian Graus10-Oct-07 1:19 
GeneralRe: the static keyword Pin
Guffa10-Oct-07 1:49
Guffa10-Oct-07 1:49 
GeneralRe: the static keyword Pin
Dextter10-Oct-07 1:14
Dextter10-Oct-07 1:14 
AnswerRe: the static keyword Pin
Guffa10-Oct-07 1:51
Guffa10-Oct-07 1:51 
GeneralRe: the static keyword Pin
Rob Philpott10-Oct-07 2:05
Rob Philpott10-Oct-07 2:05 
QuestionStarting animation defined in XAML from code Pin
donovan.solms10-Oct-07 0:23
donovan.solms10-Oct-07 0:23 
AnswerRe: Starting animation defined in XAML from code Pin
Christian Graus10-Oct-07 0:28
protectorChristian Graus10-Oct-07 0:28 
GeneralRe: Starting animation defined in XAML from code Pin
donovan.solms10-Oct-07 13:59
donovan.solms10-Oct-07 13:59 
QuestionCalling part of a function Pin
Muammar©10-Oct-07 0:22
Muammar©10-Oct-07 0:22 
AnswerRe: Calling part of a function Pin
Christian Graus10-Oct-07 0:40
protectorChristian Graus10-Oct-07 0:40 
GeneralRe: Calling part of a function Pin
Muammar©10-Oct-07 1:12
Muammar©10-Oct-07 1:12 
QuestionConvert PDF to HTML, or control Acrobat to save as HTML Pin
shea8519-Oct-07 23:13
shea8519-Oct-07 23:13 
AnswerRe: Convert PDF to HTML, or control Acrobat to save as HTML Pin
Christian Graus9-Oct-07 23:31
protectorChristian Graus9-Oct-07 23:31 
GeneralRe: Convert PDF to HTML, or control Acrobat to save as HTML Pin
shea85110-Oct-07 0:18
shea85110-Oct-07 0:18 

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.