Format:
Recent snippets matching tags of array
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib"> <Grid> <Grid.DataContext> <x:Array Type="sys:String"> <sys:String>Red</sys:String> <sys:String>Yellow</sys:String> <sys:String>Blue</sys:String>
157 Views
no comments
//სურათის ობიექტის კონვერტაცია ბაიტების მასივში. private byte[] ImageToByteArray(System.Drawing.Image imageIn) { MemoryStream ms = new MemoryStream(); imageIn.Save(ms, System.Drawing.Imaging.ImageFormat.Gif); return ms.ToArray(); } //სურათის ბაიტების მასივის კონვერტაცია სურათის ობიექტში private Image ByteArrayToImage(byte[] byteArrayIn) { MemoryStream ms = new MemoryStream(byteArrayIn);
373 Views
no comments
[TestMethod] public void TestArrayFlattening() { var expected = "abcdefghijklmnopqrstuvwxyz_helloworld".ToCharArray(); var actual = new List<char>(); var listOfList = new List<char[]> { new[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g' },
287 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
