blah blah blah is here! blah blah » Close

0
votes
1 answers

How to Pass bytearray as ref byte srcbuff C#

The input that i have is a byte array containing bytes of an image e.g. byte[] byteData; string fileName = @"C:\pic3.jp2"; FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read); BinaryReader br = ...

1
votes
1 answers

out and ref keywords example question

I have two brief programs written below: [code] static void Method(ref int i, ref string s1, ref string s2) { i = 44; s1 = "I've been returned"; s2 = null; } static voi ...

Feedback