If images are not displaying correctly or showing a black spot at the back side of the image then play with the color depth property of imagelist or picture box.
Example :-
ImageList imageList = new ImageList(); imagelist.colorDepth = colorDepth.32Bit;
Remove special characters from string ?public override string ToString(){ string specialCharacters = "~!@#$%^&*/\\\""; string[] stringAfterRemovingSpecialCharacters= displayText.Split…Read More
Yield Keywordclass Program { static void Main(string[] args) { List Names = new List(); Names.Add("saurabh"); Names.Add…Read More
List with ForEachList Names = new List(); Names.Add("Saurabh"); Names.Add("Somu"); Names.Add("Sandy"); //For every item in the list, say you want to append t…Read More
What is LINQ?■ LINQ is a uniform programming model for any kind of data. LINQ enables you to queryand manipulate data with a consistent model that is independent f…Read More
This is my personal blog and i write articles on .Net, WPF, C#, OOPS, Threading and other .Net technologies. This is not related to any of my employer and organizations. This is the result of my personal interest.
0 comments:
Post a Comment