In this question, the user commented to never use block C in VB. Why?
"Never" is a strong word.
I think this is normal if you do not abuse it (e.g. nesting)
IMHO is better:
With MyCommand.Parameters .Count = 1 .Item(0).ParameterName = "@baz" .Item(0).Value = fuz End With
than:
MyCommand.Parameters.Count = 1 MyCommand.Parameters.Item(0).ParameterName = "@baz" MyCommand.Parameters.Item(0).Value = fuz
With. , , .Delphi , , VB.NET, , Delphi, ., , With, C *, , , / , .
.
, . , With (With + End With lines).
. IDE, , (, , ). . .
, , .
. :with() #, VB.NET?
here Verity Stob, : . ,
. ...
!
With - With "" , . MSDN :
http://msdn.microsoft.com/en-us/library/wc500chb(VS.80).aspx
, .
Source: https://habr.com/ru/post/1703207/More articles:Reading data with various formats in C ++ - c ++Iterate over column search results - vimIs it possible to modify a table in mySql through stored procedures? - mysqlHow to check if a web service is available using .NET. - .netHow to judge the number of buckets for TBucketList - hashtableActiveRecord :: StatementInvalid when the process receives SIGTERM? - ruby-on-railsWhich Ruby on Rails image library should I use to create voice cards? - ruby | fooobar.comChecking the status of Caps Lock in Cocoa - cocoaDllImport vs LoadLibrary, what is the best way? - c #Creating an inherited Python type using PyCxx - pythonAll Articles