Click here to Skip to main content
15,917,454 members
Home / Discussions / C#
   

C#

 
GeneralRe: int to String conversion Pin
Guffa24-Aug-06 12:20
Guffa24-Aug-06 12:20 
GeneralRe: int to String conversion Pin
Brendan Vogt24-Aug-06 22:37
Brendan Vogt24-Aug-06 22:37 
AnswerRe: int to String conversion Pin
Guffa25-Aug-06 9:31
Guffa25-Aug-06 9:31 
GeneralRe: int to String conversion Pin
Brendan Vogt27-Aug-06 20:34
Brendan Vogt27-Aug-06 20:34 
QuestionDisplay a on the datagrid [modified] Pin
Mamphekgo23-Aug-06 22:37
Mamphekgo23-Aug-06 22:37 
AnswerRe: Display a on the datagrid Pin
Christian Graus23-Aug-06 22:45
protectorChristian Graus23-Aug-06 22:45 
JokeRe: Display a on the datagrid Pin
Not Active24-Aug-06 2:28
mentorNot Active24-Aug-06 2:28 
GeneralRe: Display a on the datagrid Pin
Muammar©10-Sep-06 0:31
Muammar©10-Sep-06 0:31 
Questionno mails in mailroot when i send the mail Pin
ayyp23-Aug-06 21:09
ayyp23-Aug-06 21:09 
AnswerRe: no mails in mailroot when i send the mail Pin
CooperWu24-Aug-06 0:04
CooperWu24-Aug-06 0:04 
GeneralRe: no mails in mailroot when i send the mail Pin
ayyp24-Aug-06 0:25
ayyp24-Aug-06 0:25 
GeneralRe: no mails in mailroot when i send the mail Pin
CooperWu24-Aug-06 0:37
CooperWu24-Aug-06 0:37 
QuestionOptional Prameter Pin
iprasad00723-Aug-06 20:44
iprasad00723-Aug-06 20:44 
AnswerRe: Optional Prameter Pin
Christian Graus23-Aug-06 21:12
protectorChristian Graus23-Aug-06 21:12 
iprasad007 wrote:
How to create a function with optional parameters ?


And in a matter of moments, you've found the one thing that VB.NET has and C# does not. I have complained to the C# team, they don't care.

So, you need to create two methods, one with the extra param, and one that calls the extra param version with the default. Sucks, I know.

iprasad007 wrote:
Is there any function exist like "CallByName" in VB.NET ?


Depends, what does it do ?

Just googled. VB.NET still does that ? That sucks. You should stay clear of anything in the VisualBasic namespace, that's .NET pollution right there. You can use reflection to find methods on an object, perhaps that will do what you need here.

Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

QuestionRe: Optional Prameter Pin
iprasad00723-Aug-06 23:13
iprasad00723-Aug-06 23:13 
AnswerRe: Optional Prameter Pin
Christian Graus23-Aug-06 23:19
protectorChristian Graus23-Aug-06 23:19 
GeneralRe: Optional Prameter Pin
iprasad00723-Aug-06 23:42
iprasad00723-Aug-06 23:42 
GeneralRe: Optional Prameter Pin
Christian Graus24-Aug-06 0:16
protectorChristian Graus24-Aug-06 0:16 
GeneralRe: Optional Prameter [modified] Pin
iprasad00724-Aug-06 0:36
iprasad00724-Aug-06 0:36 
GeneralRe: Optional Prameter Pin
Martin#24-Aug-06 1:06
Martin#24-Aug-06 1:06 
GeneralRe: Optional Prameter [modified] Pin
Christian Graus24-Aug-06 1:11
protectorChristian Graus24-Aug-06 1:11 
GeneralRe: Optional Prameter Pin
iprasad00724-Aug-06 2:01
iprasad00724-Aug-06 2:01 
QuestionVB6 TO C# Pin
M Riaz Bashir23-Aug-06 19:39
M Riaz Bashir23-Aug-06 19:39 
AnswerRe: VB6 TO C# Pin
iprasad00723-Aug-06 20:03
iprasad00723-Aug-06 20:03 
AnswerRe: VB6 TO C# Pin
Christian Graus23-Aug-06 21:09
protectorChristian Graus23-Aug-06 21:09 

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.