Click here to Skip to main content
15,896,527 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to make exception serializable Pin
George_George12-Nov-08 21:25
George_George12-Nov-08 21:25 
GeneralRe: how to make exception serializable Pin
N a v a n e e t h13-Nov-08 15:09
N a v a n e e t h13-Nov-08 15:09 
GeneralRe: how to make exception serializable Pin
George_George16-Nov-08 2:15
George_George16-Nov-08 2:15 
QuestionC# HttpWebRequest + Cookie ¿Sessions? Pin
fasfasdf12-Nov-08 14:14
fasfasdf12-Nov-08 14:14 
Questionobject? Pin
dec8212-Nov-08 14:02
dec8212-Nov-08 14:02 
AnswerRe: object? Pin
Guffa12-Nov-08 14:37
Guffa12-Nov-08 14:37 
GeneralRe: object? Pin
dec8212-Nov-08 15:03
dec8212-Nov-08 15:03 
GeneralRe: object? Pin
Mbah Dhaim12-Nov-08 15:43
Mbah Dhaim12-Nov-08 15:43 
first you must understand some types of method
1. a method that doesn't have any returns and parameters, in C# i.e : void methodname()
2. a method that pass parameters by value, this method doesn't change the parameters value after execute i.e : void methodname(object par1[, ...object parN])
3. a method that pass parameters by reference. This method will change the parameters value after execute i.e : void methodname(ref object par1[, ...ref object parN])
4. a method that return a value with or without parameters (either pass by value or by reference) object methodename([object par[, ref object var]]

in some programming language these method are divided into two that is procedure and function. A Procedure (Sub in VB) is a method that doesn't have a return value. A Function is a method that returned a value.

hunghero wrote:
when should we use a function or an object?


when you needed Smile | :)

hope it helps

dhaim
ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro"
in the front line gave a lead, in the middle line build goodwill, in the behind give power support



GeneralRe: object? Pin
Dave Kreskowiak12-Nov-08 15:47
mveDave Kreskowiak12-Nov-08 15:47 
GeneralRe: object? Pin
Paul Conrad12-Nov-08 17:10
professionalPaul Conrad12-Nov-08 17:10 
QuestionCrystal report crashes when report object's printer name is changed Pin
muharrem12-Nov-08 10:51
muharrem12-Nov-08 10:51 
AnswerRe: Crystal report crashes when report object's printer name is changed Pin
Paul Conrad12-Nov-08 11:16
professionalPaul Conrad12-Nov-08 11:16 
QuestionIPC Events in windows service Pin
picazo12-Nov-08 10:37
picazo12-Nov-08 10:37 
QuestionRe: IPC Events in windows service Pin
Mark Salsbery12-Nov-08 11:03
Mark Salsbery12-Nov-08 11:03 
AnswerRe: IPC Events in windows service Pin
picazo12-Nov-08 11:18
picazo12-Nov-08 11:18 
Question[Message Deleted] Pin
rhino113012-Nov-08 9:14
rhino113012-Nov-08 9:14 
AnswerRe: No Send button in Outlook Express message with automation Pin
rhino113012-Nov-08 9:43
rhino113012-Nov-08 9:43 
Questiontooltip Pin
netJP12L12-Nov-08 5:00
netJP12L12-Nov-08 5:00 
GeneralRe: tooltip Pin
led mike12-Nov-08 7:09
led mike12-Nov-08 7:09 
GeneralRe: tooltip Pin
EliottA12-Nov-08 8:44
EliottA12-Nov-08 8:44 
GeneralRe: tooltip Pin
led mike12-Nov-08 10:45
led mike12-Nov-08 10:45 
GeneralRe: tooltip Pin
netJP12L12-Nov-08 10:35
netJP12L12-Nov-08 10:35 
GeneralRe: tooltip Pin
led mike12-Nov-08 10:59
led mike12-Nov-08 10:59 
QuestionConsole.write line Pin
nesfrank12-Nov-08 4:54
nesfrank12-Nov-08 4:54 
AnswerRe: Console.write line Pin
J4amieC12-Nov-08 5:00
J4amieC12-Nov-08 5:00 

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.