Author Archives: compitionpoint - Page 15
Query Expressions
Query expressions are special statements used for querying a knowledge supply exploitation the LINQ. LINQ square measure simply extension ways that you simply decision and returns the info that you simply need. These ways square measure placed in the namespace thus {you must|you need to|you need to} embody it once you want to use LINQ in…
Language Integrated Query (LINQ)
Language Integrated Query (LINQ) was introduced in .NET version to permit a applied scientist to question information from several styles of information sources while not knowing any external is the process of obtaining data from a data source. LINQ makes it very…
Comparing Objects with IComparable and IComparer compitionpoint June 8, 2018 Comparing Objects with IComparable and IComparer2019-10-12T16:49:35+00:00 .Net framework No Comment
There are two useful interfaces that are useful for comparing user-defined objects. These are the IComparable<T> and IComparer<T>interfaces. The IComparable interface is implemented in a class to allow comparison between it and another object. The IComparer<T>is…
Modifying Fonts (An Example)
The following is an example application showing how we can modify a control’s Font property using other controls and components. We will use the techniques we have learned earlier to modify the…
Using Fonts
What if you want to change or modify the font of a control in a windows application? The ;class allows you to create fonts that you can use or assign to…
Reading from an XML File
Reading XML files is a necessary technique to retrieve information from an XML file. Say, for example, you store your configuration settings in an XML file, you can retrieve the…
Writing to an XML File
Using the classes and methods of the XML Document Object Model, we can easily construct an XML document and save it to a file. We will create an application to demonstrate…
XML Document Object Model
The .NET framework offers classes that can read and manipulate XML documents. These classes are located in the .NET uses the XML Document Object Model which is a set of classes that…
Extensible Markup Language
Extensible Markup Language (XML) allows you to store data in a text and structured format. It is widely used as a database alternative and for storing application configuration information. XML…
Compressing and Decompressing a Text File
When the size of files becomes large, it’s a good idea to compress them. Compression is a process of reducing the overall size of a file. The process involves finding…