George John

George John

789 Articles Published

Articles by George John

Page 13 of 79

What does the interface ICollection do in C#

George John
George John
Updated on 17-Mar-2026 3K+ Views

The ICollection interface in C# defines the size, enumerators, and synchronization methods for all nongeneric collections. It is the base interface for classes in the System.Collections namespace and serves as the foundation for collection types like ArrayList, Hashtable, and Queue. This interface provides essential functionality that all collection classes must implement, including methods to copy elements and enumerate through the collection, along with properties to get the count and synchronization object. Syntax Following is the syntax for implementing the ICollection interface − public interface ICollection : IEnumerable { int Count { ...

Read More

Formatted output in C#

George John
George John
Updated on 17-Mar-2026 2K+ Views

In C#, formatted output allows you to control how data is displayed when converting values to strings. This is essential for presenting numbers, dates, and other data types in a user-friendly format using format specifiers and the String.Format() method. Syntax Following is the syntax for basic string formatting − String.Format("{index:format}", value) Where index is the parameter position (starting from 0) and format is the format specifier. Using Format Specifiers for Numbers Decimal Places and Thousands Separator using System; class Demo { public static void Main(String[] ...

Read More

Coupling in C#

George John
George John
Updated on 17-Mar-2026 3K+ Views

Coupling in C# refers to the degree of interdependence between classes or modules in a software system. It measures how closely connected different parts of your code are to each other. Understanding coupling is crucial for writing maintainable and flexible applications. There are two main types of coupling − tight coupling and loose coupling. The goal in good software design is to achieve loose coupling while maintaining high cohesion. Tight Coupling In tight coupling, classes are highly dependent on each other. When one class changes, it directly affects other classes, making the code difficult to maintain and ...

Read More

How to display numbers in the form of Triangle using C#?

George John
George John
Updated on 17-Mar-2026 293 Views

To display numbers in the form of a triangle in C#, we use a two-dimensional array to store the triangle values and nested loops to generate the pattern. This creates what's known as Pascal's Triangle, where each number is the sum of the two numbers above it. Syntax Following is the syntax for declaring a two-dimensional array for the triangle − int[, ] array = new int[rows, columns]; Following is the pattern for Pascal's Triangle logic − if (j == 0 || i == j) { a[i, j] ...

Read More

C# program to convert time from 12 hour to 24 hour format

George John
George John
Updated on 17-Mar-2026 12K+ Views

Converting time from 12-hour format to 24-hour format in C# is a common requirement in applications. The DateTime.Parse() method can parse 12-hour time strings, and the ToString() method with the "HH:mm" format specifier converts it to 24-hour format. Syntax Following is the syntax for parsing 12-hour time and converting to 24-hour format − DateTime dateTime = DateTime.Parse("12-hour time string"); string time24Hour = dateTime.ToString("HH:mm"); The HH format specifier represents hours in 24-hour format (00-23), while mm represents minutes (00-59). Using DateTime.Parse() for Basic Conversion The simplest approach uses DateTime.Parse() to convert a 12-hour ...

Read More

Action Delegate in C#

George John
George John
Updated on 17-Mar-2026 306 Views

The Action delegate in C# is a built-in generic delegate type that represents a method with no return value (void). It can accept zero or more input parameters and is particularly useful for passing methods as parameters or storing method references. Syntax Following is the basic syntax for declaring an Action delegate − Action actionDelegate = MethodName; For Action delegates with parameters − Action actionDelegate = MethodName; Action actionDelegate = MethodName; Action actionDelegate = MethodName; Where T, T1, T2, etc. are the parameter types. Using Action Delegate with Single ...

Read More

Who's Who in the Telecommunications World

George John
George John
Updated on 16-Mar-2026 658 Views

The service domains, legal status, and scopes of telecommunication companies worldwide are varied. To provide compatibility among different agencies, the International Telecommunication Union (ITU) was formed. ITU is a specialized agency of the United Nations that standardizes information and communication technologies worldwide. ITU serves as the central coordinating body for global telecommunications, bringing together governments and private sector companies to ensure seamless international communication. Its membership represents the who's who of the telecommunications world. ITU: Global Telecommunications Coordination ITU-T Standards ...

Read More

Request To Send (RTS)

George John
George John
Updated on 16-Mar-2026 3K+ Views

Request to Send (RTS) is a control frame employed in the medium access control (MAC) layer protocol IEEE 802.11 RTS/CTS. The protocol uses the concept of Multiple Access with Collision Avoidance (MACA) in wireless networks. The RTS/CTS (Request to Send / Clear to Send) mechanism aims to reduce frame collisions introduced by the hidden terminal problem. RTS frame is sent by the transmitter prior to transmission of the actual data frame. In wireless networks, the hidden terminal problem occurs when two stations cannot hear each other but can both communicate with a common access point, leading to collisions. The ...

Read More

IEEE 802.3 and Ethernet

George John
George John
Updated on 16-Mar-2026 49K+ Views

Ethernet is a set of technologies and protocols that are used primarily in LANs. It was first standardized in the 1980s by IEEE 802.3 standard. IEEE 802.3 defines the physical layer and the medium access control (MAC) sub-layer of the data link layer for wired Ethernet networks. Ethernet is classified into two main categories: classic Ethernet and switched Ethernet. Classic Ethernet is the original form providing data rates between 3 to 10 Mbps, commonly referred to as 10BASE-X variants. Switched Ethernet uses switches to connect stations in the LAN, replacing repeaters and allowing full bandwidth utilization. IEEE 802.3 ...

Read More

Baseband Transmission

George John
George John
Updated on 16-Mar-2026 8K+ Views

Baseband transmission is a digital signaling method where data bits are directly converted into electrical signals without modulation. In this transmission technique, the entire bandwidth of the communication channel is used to transmit a single digital signal. In baseband systems, typically a higher voltage level represents bit 1, while a lower voltage level represents bit 0. The choice of encoding scheme affects factors like synchronization, error detection capability, and bandwidth efficiency. Types of Baseband Encoding Baseband encoding schemes can be categorized into three main types: unipolar, polar, and bipolar encoding. Each category uses different voltage levels and ...

Read More
Showing 121–130 of 789 articles
« Prev 1 11 12 13 14 15 79 Next »
Advertisements