Click here to Skip to main content
15,902,447 members
Home / Discussions / C#
   

C#

 
AnswerRe: CS0246: The type or namespace name 'UserInfoaa' could not be found (are you missing a using directive or an assembly reference?) Pin
Bernhard Hiller6-Jul-14 20:42
Bernhard Hiller6-Jul-14 20:42 
QuestionAdd coding to showing message box successful message sent in gmail smtp in c# 2008 Pin
KaKoten5-Jul-14 23:43
KaKoten5-Jul-14 23:43 
AnswerRe: Add coding to showing message box successful message sent in gmail smtp in c# 2008 Pin
OriginalGriff6-Jul-14 0:18
mveOriginalGriff6-Jul-14 0:18 
GeneralRe: Add coding to showing message box successful message sent in gmail smtp in c# 2008 Pin
KaKoten6-Jul-14 0:53
KaKoten6-Jul-14 0:53 
GeneralRe: Add coding to showing message box successful message sent in gmail smtp in c# 2008 Pin
OriginalGriff6-Jul-14 0:54
mveOriginalGriff6-Jul-14 0:54 
GeneralRe: Add coding to showing message box successful message sent in gmail smtp in c# 2008 Pin
KaKoten6-Jul-14 1:01
KaKoten6-Jul-14 1:01 
QuestionDaraReader problem ... Pin
nassimnastaran5-Jul-14 9:32
nassimnastaran5-Jul-14 9:32 
AnswerRe: DaraReader problem ... Pin
PIEBALDconsult5-Jul-14 9:49
mvePIEBALDconsult5-Jul-14 9:49 
GeneralRe: DaraReader problem ... Pin
DamithSL5-Jul-14 18:57
professionalDamithSL5-Jul-14 18:57 
GeneralRe: DaraReader problem ... Pin
nassimnastaran6-Jul-14 2:08
nassimnastaran6-Jul-14 2:08 
GeneralRe: DaraReader problem ... Pin
PIEBALDconsult6-Jul-14 4:29
mvePIEBALDconsult6-Jul-14 4:29 
GeneralRe: DaraReader problem ... Pin
nassimnastaran6-Jul-14 7:51
nassimnastaran6-Jul-14 7:51 
QuestionMood(emotion) detection in real time Pin
JanaRMS5-Jul-14 6:29
JanaRMS5-Jul-14 6:29 
AnswerRe: Mood(emotion) detection in real time Pin
Pete O'Hanlon5-Jul-14 11:55
mvePete O'Hanlon5-Jul-14 11:55 
QuestionReactiveCommand CanExecute is not updating button Pin
J. Holzer5-Jul-14 1:22
J. Holzer5-Jul-14 1:22 
Questionreferenced parameter Pin
Gilbert Consellado5-Jul-14 0:24
professionalGilbert Consellado5-Jul-14 0:24 
AnswerRe: referenced parameter Pin
OriginalGriff5-Jul-14 0:38
mveOriginalGriff5-Jul-14 0:38 
GeneralRe: referenced parameter Pin
Gilbert Consellado5-Jul-14 1:04
professionalGilbert Consellado5-Jul-14 1:04 
GeneralRe: referenced parameter Pin
harold aptroot5-Jul-14 0:56
harold aptroot5-Jul-14 0:56 
I don't understand what you're actually asking, but I suspect you don't fully understand what ref does, because the way you used it it's not doing anything.

Parameters passed with ref let the called function modify the variable which was passed by ref. For example:
C#
static void modify(ref int x)
{
    x += 10;
}
static void main()
{
    int y = 5;
    modify(ref y);
    Console.WriteLine(y);  // prints 15
}

Since BindingList is a reference type, Some will refer to the same object as was passed in anyway, regardless of ref. And if it had been a value type (which it isn't, but if) then the assignment from some to Some would have copied it anyway. Reference types and value types are something completely separate from and orthogonal to ref.
GeneralRe: referenced parameter Pin
Gilbert Consellado5-Jul-14 1:07
professionalGilbert Consellado5-Jul-14 1:07 
GeneralRe: referenced parameter Pin
sankarsan parida6-Jul-14 7:52
professionalsankarsan parida6-Jul-14 7:52 
GeneralRe: referenced parameter Pin
Gilbert Consellado9-Jul-14 23:32
professionalGilbert Consellado9-Jul-14 23:32 
QuestionMessage Closed Pin
4-Jul-14 20:18
Mehtech4-Jul-14 20:18 
QuestionMessage Closed Pin
4-Jul-14 20:16
Mehtech4-Jul-14 20:16 
Questionc#, VSTO, Template Project, opening Document without error messge? Pin
Kristian Holm4-Jul-14 8:19
Kristian Holm4-Jul-14 8:19 

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.