Click here to Skip to main content
12,884,757 members (31,873 online)

.NET Framework

 
Question.Net Securing Connection String Clarification Pin
Member 838957110-Oct-12 10:39
memberMember 838957110-Oct-12 10:39 
AnswerRe: .Net Securing Connection String Clarification Pin
Richard Andrew x6410-Oct-12 12:03
memberRichard Andrew x6410-Oct-12 12:03 
GeneralRe: .Net Securing Connection String Clarification Pin
Member 838957110-Oct-12 14:29
memberMember 838957110-Oct-12 14:29 
GeneralRe: .Net Securing Connection String Clarification Pin
Mathlab21-Nov-12 5:33
memberMathlab21-Nov-12 5:33 
AnswerRe: .Net Securing Connection String Clarification Pin
jschell11-Oct-12 8:53
memberjschell11-Oct-12 8:53 
QuestionArray of Double - Shallow vs. Deep Cloning? Pin
Mike-MadBadger5-Oct-12 7:01
memberMike-MadBadger5-Oct-12 7:01 
AnswerRe: Array of Double - Shallow vs. Deep Cloning? Pin
Eddy Vluggen5-Oct-12 12:25
memberEddy Vluggen5-Oct-12 12:25 
GeneralRe: Array of Double - Shallow vs. Deep Cloning? Pin
Mike-MadBadger7-Oct-12 9:56
memberMike-MadBadger7-Oct-12 9:56 
Eddy Vluggen wrote:
Now tell me, is that shallow or deep?

Smile | :)
Taking the question seiously for a moment, for copy/clone of value types or arrays of a value type, shallow == deep. For reference types, copy/clone shallow != deep.

So, last question, since an array is a reference type then there's a vast difference between these two alternatives:
Private _matrix as double(,)
Public Sub New(ByVal array As Double(,))
    Me._matrix = array
End Sub

and
Private _matrix as double(,)
Public Sub New(ByVal array As Double(,))
    Me._matrix = array.Clone
End Sub

Whereas with an array of reference types there would only be a subtle difference?

Mike
AnswerRe: Array of Double - Shallow vs. Deep Cloning? Pin
Eddy Vluggen8-Oct-12 0:39
memberEddy Vluggen8-Oct-12 0:39 
GeneralRe: Array of Double - Shallow vs. Deep Cloning? Pin
Mike-MadBadger9-Oct-12 23:04
memberMike-MadBadger9-Oct-12 23:04 
GeneralRe: Array of Double - Shallow vs. Deep Cloning? Pin
Eddy Vluggen10-Oct-12 1:22
memberEddy Vluggen10-Oct-12 1:22 
GeneralOT Pin
Mike-MadBadger10-Oct-12 2:23
memberMike-MadBadger10-Oct-12 2:23 
GeneralRe: OT Pin
Eddy Vluggen10-Oct-12 9:00
memberEddy Vluggen10-Oct-12 9:00 
GeneralRe: Array of Double - Shallow vs. Deep Cloning? Pin
dojohansen10-Oct-12 5:36
memberdojohansen10-Oct-12 5:36 
GeneralRe: Array of Double - Shallow vs. Deep Cloning? Pin
Eddy Vluggen10-Oct-12 9:09
memberEddy Vluggen10-Oct-12 9:09 
QuestionSMS forwarding through GSM modem Pin
Member 94607155-Oct-12 2:57
memberMember 94607155-Oct-12 2:57 
QuestionHow to force rendering to generate an ID? Pin
AtALossHere5-Oct-12 1:13
memberAtALossHere5-Oct-12 1:13 
AnswerRe: How to force rendering to generate an ID? Pin
Sandeep Mewara5-Oct-12 2:24
mvpSandeep Mewara5-Oct-12 2:24 
GeneralRe: How to force rendering to generate an ID? Pin
AtALossHere5-Oct-12 3:26
memberAtALossHere5-Oct-12 3:26 
GeneralRe: How to force rendering to generate an ID? Pin
Sandeep Mewara5-Oct-12 3:30
mvpSandeep Mewara5-Oct-12 3:30 
GeneralRe: How to force rendering to generate an ID? Pin
AtALossHere5-Oct-12 4:51
memberAtALossHere5-Oct-12 4:51 
AnswerRe: How to force rendering to generate an ID? Pin
AtALossHere5-Oct-12 4:58
memberAtALossHere5-Oct-12 4:58 
QuestionCustom Class Exception Management / Setup Pin
Mike-MadBadger4-Oct-12 1:40
memberMike-MadBadger4-Oct-12 1:40 
AnswerRe: Custom Class Exception Management / Setup Pin
Pete O'Hanlon4-Oct-12 1:50
protectorPete O'Hanlon4-Oct-12 1:50 
GeneralRe: Custom Class Exception Management / Setup Pin
Mike-MadBadger4-Oct-12 2:27
memberMike-MadBadger4-Oct-12 2:27 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 23 Apr 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid