Click here to Skip to main content
16,007,885 members
Home / Discussions / C#
   

C#

 
AnswerRe: About Thread............ Pin
N a v a n e e t h5-Apr-09 21:59
N a v a n e e t h5-Apr-09 21:59 
Questionhow to solve C# graphicsPath.widen outofmemoryException Pin
wgh168995-Apr-09 21:49
wgh168995-Apr-09 21:49 
AnswerRe: how to solve C# graphicsPath.widen outofmemoryException Pin
DaveyM695-Apr-09 23:08
professionalDaveyM695-Apr-09 23:08 
QuestionRe: how to solve C# graphicsPath.widen outofmemoryException Pin
wgh168996-Apr-09 4:01
wgh168996-Apr-09 4:01 
AnswerRe: how to solve C# graphicsPath.widen outofmemoryException Pin
DaveyM697-Apr-09 1:13
professionalDaveyM697-Apr-09 1:13 
GeneralRe: how to solve C# graphicsPath.widen outofmemoryException Pin
wgh168997-Apr-09 2:19
wgh168997-Apr-09 2:19 
QuestionStatic KeyWord Pin
Isaac Gordon5-Apr-09 21:48
Isaac Gordon5-Apr-09 21:48 
AnswerRe: Static KeyWord Pin
Megidolaon5-Apr-09 21:57
Megidolaon5-Apr-09 21:57 
Static says that something is not bound to objects.

Class members are usualy members of the instances, not of the class itself.
Static changes this and the attributes of methods are part of the class itself, you can't access from instantiated objects, because they don't have it.

The advantage instance members are as many times in the memory as you have instantiated objects, while static members are only once in the memory, no matter how many instances you have (even 0).

Also, as static members are independant from instances, you can use them to provide things to work with for all objects instantiated from a class.
If it is was an instance member, the value would differ for each instance, in case of methods they usually don't have acess to other instances.

Static members are called by using the point (.) operator directly from the class name.
For example int.Tryparse() is a static method that does not get called from an instance (an int variable or radical), but the class itself.
AnswerRe: Static KeyWord Pin
N a v a n e e t h5-Apr-09 22:04
N a v a n e e t h5-Apr-09 22:04 
QuestionDataGridView updating datasource problem Pin
half-life5-Apr-09 21:24
half-life5-Apr-09 21:24 
AnswerRe: DataGridView updating datasource problem Pin
Greg Chelstowski5-Apr-09 22:07
Greg Chelstowski5-Apr-09 22:07 
GeneralRe: DataGridView updating datasource problem Pin
half-life5-Apr-09 22:25
half-life5-Apr-09 22:25 
GeneralRe: DataGridView updating datasource problem Pin
Henry Minute6-Apr-09 1:57
Henry Minute6-Apr-09 1:57 
GeneralRe: DataGridView updating datasource problem Pin
half-life6-Apr-09 2:03
half-life6-Apr-09 2:03 
GeneralRe: DataGridView updating datasource problem Pin
Henry Minute6-Apr-09 2:08
Henry Minute6-Apr-09 2:08 
QuestionSizing issue with rotate Graphic Pin
FrankeyJames5-Apr-09 20:22
FrankeyJames5-Apr-09 20:22 
AnswerRe: Sizing issue with rotate Graphic Pin
Christian Graus5-Apr-09 20:29
protectorChristian Graus5-Apr-09 20:29 
GeneralRe: Sizing issue with rotate Graphic Pin
FrankeyJames5-Apr-09 20:57
FrankeyJames5-Apr-09 20:57 
GeneralRe: Sizing issue with rotate Graphic Pin
Christian Graus5-Apr-09 21:07
protectorChristian Graus5-Apr-09 21:07 
GeneralRe: Sizing issue with rotate Graphic Pin
FrankeyJames5-Apr-09 21:19
FrankeyJames5-Apr-09 21:19 
GeneralRe: Sizing issue with rotate Graphic Pin
Luc Pattyn6-Apr-09 3:14
sitebuilderLuc Pattyn6-Apr-09 3:14 
QuestionHow to Execute C# / SQL statement in outlook Pin
dabuskol5-Apr-09 20:14
dabuskol5-Apr-09 20:14 
AnswerRe: How to Execute C# / SQL statement in outlook Pin
Christian Graus5-Apr-09 20:21
protectorChristian Graus5-Apr-09 20:21 
QuestionHow to make FTP Pin
E_Gold5-Apr-09 19:56
E_Gold5-Apr-09 19:56 
AnswerRe: How to make FTP Pin
Rajdeep.NET is BACK5-Apr-09 20:03
Rajdeep.NET is BACK5-Apr-09 20:03 

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.