Click here to Skip to main content
15,887,083 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Should libraries have a standard API and naming convention? Pin
resuna14-Jun-23 1:01
resuna14-Jun-23 1:01 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Greg Utas14-Jun-23 4:03
professionalGreg Utas14-Jun-23 4:03 
GeneralRe: Should libraries have a standard API and naming convention? Pin
resuna14-Jun-23 5:49
resuna14-Jun-23 5:49 
GeneralRe: Should libraries have a standard API and naming convention? Pin
jschell14-Jun-23 6:21
jschell14-Jun-23 6:21 
GeneralRe: Should libraries have a standard API and naming convention? Pin
resuna14-Jun-23 12:03
resuna14-Jun-23 12:03 
GeneralRe: Should libraries have a standard API and naming convention? Pin
jschell14-Jun-23 5:57
jschell14-Jun-23 5:57 
GeneralRe: Should libraries have a standard API and naming convention? Pin
BernardIE531714-Jun-23 0:54
BernardIE531714-Jun-23 0:54 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Graeme_Grant14-Jun-23 2:14
mvaGraeme_Grant14-Jun-23 2:14 
Chris Maunder wrote:
Open a filestream, call file.CopyToAsync to the stream and close the stream

Well, CopyToAsync is a stream method. A stream can be for any purpose, both the source and destination. So to use this for your example is a bit unfair. Opening a FileStream is the destination to move the data to.
C#
FileStream stream = File.OpenWrite(__filename__);


Graeme


"I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee

GeneralRe: Should libraries have a standard API and naming convention? -> Nope Pin
brompot14-Jun-23 3:45
professionalbrompot14-Jun-23 3:45 
GeneralRe: Should libraries have a standard API and naming convention? -> Nope Pin
Dan Sutton14-Jun-23 9:15
Dan Sutton14-Jun-23 9:15 
GeneralRe: Should libraries have a standard API and naming convention? Pin
SeattleC++14-Jun-23 5:07
SeattleC++14-Jun-23 5:07 
GeneralRe: Should libraries have a standard API and naming convention? Pin
dandy7214-Jun-23 6:52
dandy7214-Jun-23 6:52 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Juan Pablo Reyes Altamirano14-Jun-23 5:58
Juan Pablo Reyes Altamirano14-Jun-23 5:58 
GeneralRe: Should libraries have a standard API and naming convention? Pin
dandy7214-Jun-23 6:49
dandy7214-Jun-23 6:49 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Chris Maunder14-Jun-23 6:57
cofounderChris Maunder14-Jun-23 6:57 
GeneralRe: Should libraries have a standard API and naming convention? Pin
dandy7214-Jun-23 7:06
dandy7214-Jun-23 7:06 
GeneralRe: Should libraries have a standard API and naming convention? Pin
StatementTerminator14-Jun-23 7:02
StatementTerminator14-Jun-23 7:02 
GeneralRe: Should libraries have a standard API and naming convention? Pin
dandy7214-Jun-23 7:09
dandy7214-Jun-23 7:09 
GeneralRe: Should libraries have a standard API and naming convention? Pin
StatementTerminator14-Jun-23 7:32
StatementTerminator14-Jun-23 7:32 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Dan Sutton14-Jun-23 9:14
Dan Sutton14-Jun-23 9:14 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Member 1201067716-Jun-23 1:42
Member 1201067716-Jun-23 1:42 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Michael Rockwell 202127-Jun-23 9:24
Michael Rockwell 202127-Jun-23 9:24 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Chris Maunder28-Jun-23 3:35
cofounderChris Maunder28-Jun-23 3:35 
GeneralWSO CCC OTD 2023-06-13 Pin
OriginalGriff12-Jun-23 21:31
mveOriginalGriff12-Jun-23 21:31 
GeneralRe: WSO CCC OTD 2023-06-13 Pin
pkfox12-Jun-23 21:45
professionalpkfox12-Jun-23 21:45 

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.