Kod Kütüphanem ama elime ne gelirse burada dursun diye…

Related articles

Tuple?

A tuple is a data structure that has a specific number and sequence of elements. A tuple allows you to combine multiple values of possibly different types into a single object without having to create a custom class. This can be useful if you want to write a method that for example returns three related […]

Learn More

Çok Boyutlu Class Dizilerde Döngüler

MyClass[][,][,] abc = new MyClass[10][,][,]; for (int i = 0; i < abc.Length; i++) { abc[i] = new MyClass[20, 30][,]; for (int j = 0; j < abc[i].GetLength(0); j++) { for (int k = 0; k < abc[i].GetLength(1); k++) { abc[i][j, k] = new MyClass[40, 50]; } } } Kaynak: StackOverFlow

Learn More

public List in viewstate

Do?ru Yaz?m: public List<int> ImageString { get { if (this.ViewState[“ImageString”] == null) { this.ViewState[“ImageString”] = new List<int>(); } return (List<int>)(this.ViewState[“ImageString”]); } set { this.ViewState[“ImageString”] = value; } } Yanl?? Yaz?m: public List<int> ImageString { get { if (this.ViewState[“ImageString”] != null) { return (List<int>)(this.ViewState[“ImageString”]); } return new List<int>(); } set { this.ViewState[“ImageString”] = value; } } […]

Learn More

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir