C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Sandhiya Priya(13)
Nidhi Sharma(12)
Tuhin Paul(4)
Ananya Desai(4)
Sardar Mudassar Ali Khan (3)
Shivang (3)
Hussain Patel(3)
Rajiv Singh(3)
Jitendra Mesavaniya(3)
Mariusz Postol(3)
Saurav Kumar(2)
Ziggy Rafiq(2)
Raghunath Bhukan(2)
Mominul Islam(2)
Baibhav Kumar(2)
Avnii Thakur(2)
Lokendra Singh(2)
Kirtesh Shah(2)
Sanjay Kumar(2)
Rajesh Gami(1)
Mariem Moalla(1)
Aarav Patel(1)
Riya Patel(1)
Rajeev Paliwal(1)
Coder Thiyagarajan(1)
Vitalii Honcharuk(1)
Ajay Kumar(1)
Shafaet Hossain(1)
Ayush Gupta(1)
Subarta Ray(1)
Praveen Raveendran Pillai(1)
Vivek Kumar(1)
Jefferson S. Motta(1)
Jalpa Dhola(1)
Shikha Tiwari(1)
Chetan Sanghani(1)
Vijay Yadav(1)
Velladurai (1)
Aman Gupta(1)
Ishika Tiwari(1)
Suraj Vishwakarma(1)
Naveen Kumar(1)
Adam Stirtan(1)
Kunal Patil(1)
Jaimin Shethiya(1)
Mithilesh Tata(1)
Ashutosh Singh(1)
Anandu G Nath(1)
Gurpreet Arora(1)
Sai Ananth(1)
Resources
No resource found
Count Substrings with More 1's than 0's
Jul 04, 2026.
Efficiently count binary substrings with more 1s than 0s using prefix sums and Fenwick trees in O(N log N) time.
Maximum Number of People Defeated
Jun 23, 2026.
Find the max people defeated by strength p. Uses sum of squares formula & binary search for efficient O(log n) solution.
Coverage of All Zeros in a Binary Matrix (Java)
Jun 18, 2026.
Calculate the coverage of zeros in a binary matrix. Sum coverage for each zero by checking for adjacent ones in four directions.
Binary Searchable Count Count Binary Searchable Elements in an Unsorted Array
Jun 10, 2026.
Discover which elements are discoverable via binary search on unsorted arrays. Learn the O(n) algorithm and its O(log n) space complexity.
Find the Kth Smallest Element in a Sorted Matrix Using Binary Search on Answer
Jun 08, 2026.
A matrix search problem solved efficiently using binary search on value range and counting elements less than or equal to mid in O(n) time per step.
Count Elements Within a Range Using Sorting and Binary Search
Jun 06, 2026.
Learn how to efficiently count array elements within given ranges using sorting and binary search. Includes intuition, lower bound and upper bound concepts, complexity analysis, and Java solution.
Count Elements in a Given Range Using Sorting and Binary Search
Jun 06, 2026.
This problem involves finding the number of elements in an unsorted array that lie within a given range [a, b] for multiple queries. A naive approach would check each element for every query, resulting in high time complexity. A more efficient solution uses sorting and binary search: Sort the array to enable fast searching. For each query [a, b]: Use a lower bound search to find the first element = a. Use an upper bound search to find the first element > b. The difference between these indices gives the count of elements in the range. This approach significantly reduces time complexity to O(n log n + q log n) while keeping space usage minimal. It’s a classic example of combining sorting with binary search to handle range-based queries efficiently.
Find the Kth Missing Positive Number Using Binary Search
Jun 06, 2026.
This article explains how to efficiently find the kth missing positive number in a sorted array. Using the insight that the number of missing numbers before an index i is arr[i] - (i+1), the problem can be solved with binary search, reducing time complexity from O(n + k) to O(log n). The article includes step-by-step examples and a clear Java implementation.
Position of the Set Bit
May 19, 2026.
Find the position of the single set bit in an integer's binary representation. Learn the bit manipulation trick using n & (n-1) for efficient problem-solving.
Understanding How to Check if an Array Represents a Max Heap
Apr 30, 2026.
Learn how to check if a given array represents a valid Max Heap. This guide explains the heap property, array representation, and provides an efficient O(n) Java solution with examples. Perfect for beginners and coding interview preparation.
Number of BSTs From Array
Apr 27, 2026.
Calculate the number of unique Binary Search Trees (BSTs) possible for each element in an array as the root. Leverages Catalan numbers for efficient computation.
Introduction to JSON Serialization in ASP.NET Core Web API
Apr 27, 2026.
In ASP.NET Core Web API, JSON serialization is the process of converting C# objects into JSON strings (for responses) and back again (for request bodies). By default, ASP.NET Core handles this automatically, but understanding how to configure it is essential for building professional APIs.
Flip to Maximize 1s in an Array
Apr 21, 2026.
Learn how to solve the Flip to Maximize 1s problem in Java. This article explains step-by-step how to find the maximum number of 1s in a binary array after flipping at most one subarray, including code explanation, execution, and examples.
How to Implement a Binary Search Algorithm in C# With Example
Apr 03, 2026.
Master Binary Search in C#! This guide covers iterative & recursive implementations with clear examples, optimization tips, and real-world applications. Boost your search efficiency!
Find Number of Rotations in a Sorted Array Using Binary Search in DSA
Jan 23, 2026.
Discover how to efficiently find the number of rotations in a sorted array using binary search. Learn the logic, code implementation, and common pitfalls. Ace your DSA interview!
Single Element in a Sorted Array Using Binary Search
Jan 23, 2026.
Master binary search to find the single, unpaired element in a sorted array! Learn the logic, code, and common mistakes to ace your coding interviews. O(log n) efficiency.
Allocate Minimum Number of Pages Using Binary Search
Jan 23, 2026.
Master the "Allocate Minimum Number of Pages" problem using binary search! Learn to efficiently distribute books and minimize the maximum pages a student reads. A key DSA interview question!
Aggressive Cows Problem Using Binary Search
Jan 23, 2026.
Maximize cow spacing! Learn to solve the Aggressive Cows problem using binary search. A classic interview question explained with clear logic and C++ code.
First and Last Occurrence of an Element Using Binary Search
Jan 21, 2026.
Master binary search! Efficiently find the first and last positions of an element in a sorted array. Ace coding interviews with this essential algorithm. O(log n) speed!
Count Occurrences of an Element in a Sorted Array (Using Binary Search)
Jan 21, 2026.
Master counting element occurrences in sorted arrays efficiently using Binary Search! This guide provides a step-by-step approach, code examples, and avoids common mistakes. Ace your coding interviews!
Find Peak Element in an Array Using Binary Search
Jan 21, 2026.
Master the 'Find Peak Element' problem with binary search! This guide simplifies the logic, explains the algorithm, and provides a C++ code example. Ace your interview!
Search in a Rotated Sorted Array Using Binary Search
Jan 21, 2026.
Master searching rotated sorted arrays! This guide breaks down the binary search approach with clear explanations, code, and common mistakes to avoid. Ace your interview!
Binary Search – Iterative and Recursive Explained in Simple Words
Jan 20, 2026.
Master Binary Search! Learn iterative & recursive implementations with clear explanations & C++ code. Ace coding interviews & optimize search algorithms.
Binary Tree Traversal in DSA (Inorder, Preorder, Postorder)
Jan 15, 2026.
Master binary tree traversal: Inorder, Preorder, and Postorder explained with code examples. Ace your DSA interviews with this essential guide!
Lowest Common Ancestor in Binary Search Tree (BST)
Jan 16, 2026.
Master the Lowest Common Ancestor (LCA) problem in Binary Search Trees (BST)! Learn recursive & iterative solutions, edge cases, and complexity analysis.
Using C# 14 with gRPC Instead of REST: Build a Customer Microservice (with Benchmarks)
Jan 13, 2026.
Discover why gRPC outperforms REST with Protobuf contracts, streaming, and JSON vs Protobuf BenchmarkDotNet benchmarks.
Anti-Patterns to Avoid When Using Memory Pools in ASP.NET Core
Jan 12, 2026.
Discover the top 10 memory pooling anti-patterns in ASP.NET Core from an MVP perspective. Learn how to avoid runaway memory usage, GC pressure, and false memory leaks while leveraging .NET 10’s automatic pool trimming.
Search in Rotated Sorted Array Using Binary Search
Jan 08, 2026.
Learn how to search an element in a rotated sorted array using Binary Search. This beginner-friendly DSA article explains the logic step by step with examples and clean code.
C# 14: From Helper Classes to First-Class APIs
Dec 24, 2025.
C# 14 extension members introduce extension properties, operators, and static members. Learn how they transform helper classes into first-class APIs and enable modern, expressive, and binary-safe .NET domain modeling.
Building a Custom Serialization Framework (Compress, Encrypt, Version Data) | Angular + ASP.NET Core
Nov 19, 2025.
Build a custom serialization framework in Angular & ASP.NET Core for compression, encryption, and versioning. Secure data, optimize performance, and ensure compatibility.
The Serialization Spectrum: An Architect's Deep Dive into JSON, Typed Formats, and Data Contracts for High-Performance .NET Systems
Nov 19, 2025.
Unlock peak .NET performance! Deep dive into JSON, typed formats (protobuf, MessagePack), and data contracts. Optimize serialization for robust, scalable systems.
Program to Convert Decimal to Binary in C#
Oct 29, 2025.
Learn how to convert decimal numbers to binary in C# using a recursive function within an ASP.NET WebForms application. Includes code and examples! #csharp
Binary Search From Basics
Oct 28, 2025.
Master binary search! This guide breaks down the core concepts, and real-world applications with C# examples.
How to convert a tree to a doubly linked list in C++?
Oct 17, 2025.
Learn how to convert a binary tree or BST into a doubly linked list (DLL) in C++ efficiently. This guide explores three approaches: recursive inorder traversal, iterative stack-based conversion, and the memory-efficient Morris traversal. Understand the pros and cons of each method, including code examples, to choose the best solution for your needs. Master tree pointer manipulation and in-place transformations for coding interviews and practical applications. The conversion preserves inorder sequence.
RESTful API Mastery: ASP.NET Core Best Practices, Versioning & Serialization Complete Guide - Part-10 of 40
Oct 16, 2025.
Master RESTful API development in ASP.NET Core with this comprehensive guide. Learn best practices for versioning, serialization, authentication, and building scalable services. Explore real-world examples, microservices communication, and advanced techniques for security, performance, and maintainability. From basic principles to enterprise patterns, this guide provides production-ready solutions for building robust APIs.
Understanding Searching Algorithms: Linear Search and Binary Search
Oct 14, 2025.
Explore the fundamentals of searching algorithms with Linear and Binary Search. Learn how these algorithms efficiently locate elements within data structures. Discover their step-by-step logic, Python implementations, and time/space complexity. Understand when to use each algorithm based on data characteristics and performance needs. Master these essential techniques for efficient data retrieval in programming and real-world applications. Binary search is faster but requires sorted data.
Introduction to Tree Data Structure
Oct 11, 2025.
Unlock the power of tree data structures! This guide covers fundamental concepts, terminology (root, parent, child, leaf), and various tree types like Binary Trees, BSTs, and Tries. Explore tree traversal methods (DFS, BFS) with Python examples and real-world applications in file systems, databases, and more. Master this essential data structure for efficient data organization and searching. Learn about time complexity, advantages, and limitations.
Decode QR Codes from Binary Images Without Libraries Using Python
Oct 10, 2025.
Unlock offline QR code decoding with pure Python! This guide provides a step-by-step implementation to read QR codes from binary images without external libraries like OpenCV or PIL. Ideal for resource-constrained environments like rural clinics, learn to build resilient, dependency-free systems for vaccine verification and more.
Find the Last Occurrence of an Element in a Sorted Array
Oct 09, 2025.
Master the art of efficiently locating the last occurrence of an element within a sorted array! This guide explores both brute-force and optimized binary search approaches, providing a C++ implementation and a detailed dry run. Learn how to modify binary search to pinpoint the last instance of a target value, even with duplicates, achieving O(log n) time complexity. Perfect for algorithm enthusiasts and coding interview prep!
How to Convert a Grayscale Image to Binary or Negative Image Using Python
Oct 08, 2025.
Learn how these fundamental operations enhance real-time vision systems, using a Singapore toll booth example. Optimize image processing for edge deployment with our zero-dependency code, boosting accuracy and reducing bandwidth. Perfect for OCR, object detection, and low-latency applications.
🔍 How to Find the First Occurrence of an Element in a Sorted Array
Oct 08, 2025.
This article provides a step-by-step approach, complete with a C code implementation, example dry run, and complexity analysis. Optimize your DSA skills and ace those coding interviews by understanding this essential technique. Learn how to adapt binary search for finding the leftmost instance, ensuring optimal performance in O(log n) time.
Powering Real-Time IoT Sensor Decoding in Python
Oct 07, 2025.
This article dives into binary-to-decimal conversion, a crucial skill for decoding live sensor data in real-time. Learn efficient Python techniques, build a robust decoder, handle edge cases, and optimize performance for industrial IoT monitoring. Master this fundamental conversion and gain actionable insights from raw machine data.
DSA Binary Search Tree (BST)
Oct 03, 2025.
Explore the Binary Search Tree (BST), a fundamental data structure in DSA, crucial for efficient searching, insertion, and deletion. Learn about its structure, basic operations (insert, search, delete), and different tree traversals (inorder, preorder, postorder). Understand time complexity and the importance of balanced BSTs like AVL and Red-Black trees to avoid worst-case O(n) scenarios.
How to Search for an Array Element in Python
Oct 01, 2025.
Master array element searching in Python! This guide explores linear search, binary search, and set-based lookups, optimizing for speed and accuracy. Learn to protect sensitive data in healthcare systems by efficiently detecting and redacting PII. Includes practical examples, time complexity analysis, and a complete PII scanner implementation. Discover the best search method for your specific needs and improve your code's performance.
What is a Balanced Binary Tree and How to Check it?
Oct 01, 2025.
Discover the power of Balanced Binary Trees! Learn what makes them crucial for efficient data management in computer science. This article explains balanced binary tree properties, why they're important for search and insertion speed, and provides a Python code example to check if a binary tree is balanced. Explore real-world applications in databases, networking, and compilers.
Choose a Data Storage Approach at the Cloud
Aug 23, 2025.
This Article explains different types of data classification—structured, semi-structured, and unstructured data—in simple, easy-to-understand language. It breaks down how each type is stored, organized, and used, with real-world examples like product catalogs, photos, and business reports. We also explored common data serialization formats (XML, JSON, YAML) with plain explanations, examples, pros and cons, and a comparison table. Finally, we summarized everything with a visual infographic and a comparison table to make it easy to remember.
ASP.NET: Then vs Now — JSON Serialization Performance
Aug 21, 2025.
ASP.NET has evolved from relying on Newtonsoft.Json to the faster, memory-efficient System.Text.Json in .NET 8. Offering built-in support, benchmarks show significant performance gains, making it today’s default choice.
What is a Buffer in Node.js, and When Should it be Used?
Aug 19, 2025.
This article explains in simple words what a Buffer is in Node.js, how it works, and when it should be used. It provides detailed examples in JavaScript for better understanding.
Validate Binary Search Tree in DSA – Rules, Algorithms, and Code
Aug 13, 2025.
Learn how to validate whether a given binary tree is a valid Binary Search Tree (BST) using step-by-step logic, rules, iterative and recursive algorithms, and Java examples.
Lowest Common Ancestor in Binary Trees: Easy and Efficient Methods
Aug 13, 2025.
Learn how to find the Lowest Common Ancestor (LCA) in a binary tree using beginner-friendly explanations, step-by-step algorithms, and efficient Java code implementations.
What is Binary Search Algorithm and How It Works with Examples.
Aug 12, 2025.
Understand the Binary Search algorithm in depth — how it works, step-by-step process, real-world use cases, and practical Java examples. Perfect for beginners and intermediate learners in Data Structures and Algorithms.
What Happens When You Run a Program? (Behind the Scenes)
Aug 08, 2025.
Have you ever wondered what actually happens when you hit Run, Execute, or double-click a program file? It's not magic — it’s a fascinating journey that your code takes from plain text to machine-level instructions. Let’s break it down in simple terms.
Build a Daily Mood Tracker in C# Console App with JSON Storage
Aug 01, 2025.
In this beginner-friendly C# project, you will build a simple daily mood tracker using a console interface and JSON for local data storage. This project is great for understanding how to combine real-life utility with coding fundamentals.
Create a Personal Budget Tracker in C# Using JSON and Console UI
Jul 28, 2025.
In this article, we will build a simple personal budget tracker using C# with a clean console UI and JSON for persistent storage. This beginner-friendly project helps users understand file handling, data serialization, and basic CRUD operations—ideal for those starting with .NET or looking for a practical mini project.
Interpolation Search Algorithm in Java
Jun 03, 2025.
Learn how Interpolation Search improves upon Binary Search for uniformly distributed, sorted arrays. Explore its working, code examples in Java, performance, use cases, and comparison with Binary Search.2/2
Binary Search Tree (BST) Node Deleteion Algorythm in C#
Apr 30, 2025.
Learning BST: How to implement Binary Search Tree (BST) deletion algorithm in C#, with unit testing using xUnit and FluentAssertions. This guide covers deletion cases, real-world relevance.
.NET 9 Apps Are Faster Than Ever
Apr 19, 2025.
Explore .NET 9’s impressive performance improvements! From faster JSON serialization, optimized JIT compiler, reduced memory usage, to enhanced HTTP/3 handling
System.Text.Json vs. Newtonsoft.Json: A Comprehensive Comparison
Jan 31, 2025.
System.Text.Json and Newtonsoft.Json are popular libraries for JSON serialization in .NET. System.Text.Json offers better performance and lower memory usage, while Newtonsoft.Json provides more advanced features like dynamic JSON handling and custom converters.
Working with gRPC API in .NET 8
Jan 21, 2025.
We create a simple gRPC service using .NET C# to perform CRUD operations on a book management system. Learn how to define a .proto file, implement server-side logic, and test with tools like Postman for efficient communication.
Binary To Decimal Conversion in C#
Dec 27, 2024.
This article explains how to convert a binary number to a decimal number in C#. It covers two methods for the conversion, providing examples and code snippets. It's a helpful resource for beginners and intermediate programmers learning C#.
Decimal to Binary Conversion in C#
Dec 26, 2024.
Learn how to convert decimal to binary in C#. Understand decimal and binary numbers, explore examples, and implement a simple program. This guide is perfect for beginners and professionals preparing for interviews.
Efficiently Managing Data with Binary Tree Implementation in C#
Dec 09, 2024.
This article tells you how to implement and leverage binary trees in C# to optimize data storage and retrieval, ensuring your applications run smoothly and efficiently.
Understanding .NET Binary Serialization
Nov 19, 2024.
.NET Binary Serialization simplifies the process of converting objects into binary formats for efficient storage or data transfer. This guide explores serialization techniques, the BinaryFormatter class, custom serialization, and best practices.
Serialization and DeSerialization in C#
Oct 21, 2024.
Serialization is the process of converting an object into a storable format, such as XML, JSON, or binary, while deserialization restores it to its original form. Common types include XML, JSON, Binary, and SOAP serialization.
Delete the Element from the Binary Tree Using C#
Sep 28, 2024.
Learn how to efficiently delete an element from a binary tree using C#. This guide covers the complete process of node deletion, including leaf nodes, nodes with one or two children, and root node removal.
Property 'X' Does Not Configure the Code Serialization for its Property Content
Sep 11, 2024.
The .NET 9 RC-1, released on September 9, 2024, introduced a WinForms component error (WFO1000), where properties fail to serialize code. To fix this, add using System.ComponentModel and apply [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] on properties, or suppress the warning.
Automating the Export and Import of Power Automate Solutions
Sep 02, 2024.
Streamline the process of exporting and importing Power Automate solutions by automating workflows. This automation reduces manual effort, ensures consistency, and minimizes errors in solution management. It enables efficient backups, recovery, and smooth transitions across environments.
File Structure: Writing and Reading Records Efficiently
Aug 29, 2024.
In C programming, fwrite() and fread() manage data storage and retrieval. fwrite() writes structures to a binary file, while fread() reads them back. This involves defining a structure, opening a file in binary mode, and using these functions to write and read data, ensuring file integrity and data consistency.
AI-Powered Virtual Assistants: How to Build One in C#
Aug 28, 2024.
Build an AI-powered virtual assistant in C# using Microsoft Bot Framework, ML.NET, and Azure Cognitive Services. This assistant can perform tasks like setting reminders, answering queries, and recognizing speech. Integrate advanced AI features like NLP and task automation for a powerful, interactive experience.
How to Show Direct Binary Image Using Handler in ASP.NET WebForms
Aug 09, 2024.
Learn how to display images stored as binary data in a database using an HTTP handler in ASP.NET WebForms. This guide covers creating a database table, a stored procedure for image retrieval, and implementing an HTTP handler to serve images dynamically. It also includes integrating the handler into a web form.
Understanding the Binary Search Algorithm
Aug 06, 2024.
Understanding the Binary Search Algorithm delves into the mechanics of binary search, a fundamental algorithm in computer science. This guide covers its implementation in both iterative and recursive forms, explains its logarithmic time complexity, and highlights its efficiency in searching sorted arrays.
Data Structures and Algorithms (DSA) using C# .NET Core — Binary Trees and Binary Tree Types II
Jul 29, 2024.
This article explores various types of binary trees, including Full, Perfect, Complete, Balanced, Skewed, and Degenerate Binary Trees. It explains their properties and distinctions, such as how Full and Perfect trees differ from Complete trees.
XOR Operator in C# and Its Properties
Jul 23, 2024.
The XOR operator (`^`) in C# is essential for bitwise operations, comparing binary values bit by bit. It is used for tasks like encryption, error detection, and data manipulation.
Left and Right Shift operators in C#
Jul 15, 2024.
This article delves into the intricacies of left and right shift operators in C#. You'll learn how these bitwise operators work, their syntax, and practical applications.
C# Method Designed to Make a POST Request to a Web API Endpoint
Jul 04, 2024.
This guide covers API integration in C#, detailing serialization, encryption, HTTP requests, and error handling. Learn how to set up an API integration method, handle responses, and follow best practices for security, error handling, and asynchronous operations to build robust and secure applications.
Find Subsets of a Given Array
Jul 03, 2024.
In this article, we explore how to find all subsets of an array in C# using a bit manipulation technique. Each subset corresponds to a binary representation of an integer. By iterating through binary masks, we efficiently generate and print all possible subsets, demonstrating a powerful approach to subset generation.
Annotations used with Spring Boot Applications
Jun 28, 2024.
Spring Boot simplifies Java application development with powerful annotations like @SpringBootApplication, @RestController, and @Service. These annotations automate configuration, enable RESTful services, manage dependencies, and support robust transaction and error handling.
Convert an Embedded Resource into an XML File in WPF C#
Jun 06, 2024.
When working with embedded resources in a WPF application, it is important to follow specific steps to guarantee that your resources are properly included in the assembly and can be accessed during runtime.
Introducing HybridCache The Future of .NET Caching
Jun 04, 2024.
HybridCache bridges gaps in .NET's IDistributedCache and IMemoryCache, introducing advanced capabilities like stampede protection and configurable serialization. It simplifies caching with a unified API for both in-process and out-of-process caching, reducing complexity and enhancing performance.
Explain BLOB Datatypes in MySQL
May 24, 2024.
MySQL BLOB datatypes store large binary objects, like images or documents. They offer efficient storage for multimedia files and other binary data in MySQL databases, enabling seamless handling of diverse content types within applications.
Demystifying customStringify: Filtering Functions in JSON
May 13, 2024.
In the vast world of data, JSON (JavaScript Object Notation) reigns supreme for its lightweight and human-readable format. But what if you want to control how specific data gets represented in your JSON string? That's where the customStringify function comes in.
Common Types of Machine Learning
May 13, 2024.
Understanding the diverse types of machine learning is fundamental for both beginners and seasoned professionals alike. In this article, we explore the core concepts of regression, classification and clustering.
Newtonsoft.Json vs. System.Text.Json: Comparative Analysis
Apr 17, 2024.
In the world of .NET development, handling JSON serialization and deserialization is a common task, especially when dealing with web APIs. In this article, we'll compare and contrast these two libraries, exploring their features, examples, advantages, and disadvantages.
Polymorphic serialization using System.Text.Json
Apr 12, 2024.
Polymorphic serialization is the process of serializing and deserializing objects of different types that share a common base type. This allows us to preserve the specific type information of each object, which is crucial when we want to deserialize the objects back into their original types.
Implementation of Base64 Encoding/Decoding in Power App
Apr 05, 2024.
Base64 is a method for encoding binary data into text, ensuring data integrity during transmission. Implemented in Power Apps using Power Fx, it's vital for tasks like email (MIME), XML, or JSON data storage. Not suitable for encryption, but essential for safe data transmission.
Built In Rest Client in .NET Core
Apr 01, 2024.
.NET Core provides a built-in REST client through HttpClient in the System.Net.Http namespace. It offers lightweight, cross-platform capabilities for seamless integration with web services, enabling efficient HTTP requests and response handling in API communication within .NET Core applications.
Information Computation Mastery: Serialization
Apr 01, 2024.
To use computers to automate information processing we have to deal with bitstreams as the information representation. We need bitstreams to be handled using files to preserve the data. The transition process from the objects to the stream is called the serialization.
What is JSON Serialization and Deserialization in C#
Mar 27, 2024.
JSON (JavaScript Object Notation) has become a ubiquitous data interchange format, especially in web development. In C#, developers have multiple options for serializing C# objects to JSON and deserializing JSON strings back to C# objects
A simplified approach to serializing and deserializing objects in C# 10
Mar 04, 2024.
This comprehensive guide teaches how to streamline data interchange processes efficiently using C# 10 Records. Authored by Ziggy Rafiq.
What is Serialization and Deserialization in C#?
Mar 04, 2024.
Serialization and deserialization are processes used to convert objects into a format that can be easily stored, transmitted, or persisted, and then reconstructed back into objects when needed.
Camelcase Serialization in .Net 9
Feb 19, 2024.
In .NET 9, developers have been granted a powerful tool to enhance data serialization: CamelCase Serialization. This feature facilitates smoother interoperability with systems and frameworks that expect camelCase formatted data
Eager Loading In ASP.NET Core Web API Complete Example
Jan 22, 2024.
In ASP.NET Core, eager loading is a technique used to load related data along with the main entity in a single database query. This helps to optimize performance by reducing the number of database calls. Let's implement an example of eager loading in an ASP.NET Core Web API using Entity Framework Core.
External Data - Attributes - Profiling Data Access
Jan 06, 2024.
The external data is recognized as the data we must pull or push from outside of a boundary of the process hosting the computer program. A very important kind of external data is streaming data. Usually, this data kind is managed using file and stream concepts. To save/read working data using streams, we need serialization/deserialization operations between streaming and object-oriented data.
External Data - File and Stream Concepts
Jan 03, 2024.
The external data is recognized as the data we must pull or push from outside of a boundary of the process hosting the computer program. A very important kind of external data is streaming data. Usually, this data form is managed using file and stream concepts. It is the first part of a series of articles titled Programming in Practice.
Data Structures and Algorithms (DSA) using C# .NET Core - Binary Trees and Binary Search Tree (BST) Tree Traversal- II
Jan 02, 2024.
The fundamentals of Tree and Binary Search Tree, delving into data reading, node addition, deletion, and search operations through tree traversal. Understand three traversal types: Preorder, Inorder, and Postorder. Source code included.
JSON Serialization and Deserialization in C#
Dec 29, 2023.
JSON serialization and deserialization in C#! Learn the ropes with Newtonsoft.Json (Json.NET) or the built-in System.Text.Json. Level up your data interchange skills for seamless system communication.
Data Structures and Algorithms (DSA) using C# .NET Core — Binary Trees and Binary Search Tree (BST) - I
Nov 27, 2023.
In this article we will learn about - Binary Trees. Explore the fundamentals of trees and delve into binary trees, focusing on Binary Search Trees (BST). Understand key terminologies, tree traversal, and mathematical formulas for node calculations in this comprehensive guide.
Implementing Binary Search in Python
Aug 18, 2023.
Binary search, a potent algorithm, efficiently locates items in a sorted collection. Unlike linear search, it drastically minimizes comparisons, making it ideal for large datasets. Explore the binary search principles and Python implementation. Learn how binary search divides the search range and translates this into Python code.
ASP.NET Core Web API for Abusive Comments Detection
Aug 12, 2023.
Implementing abusive comments detection in an ASP.NET Core Web API involves utilizing Natural Language Processing (NLP) techniques and external APIs, such as the Perspective API from Google. This implementation aims to protect online platforms from harmful or offensive content. Here's a summary of the steps involved:
Calculate the Number of 1's in Binary Representation
Jul 13, 2023.
Given an integer n, return an array ans of length n + 1 such that for each i (0 <= i <= n), ans[i] is the number of 1's in the binary representation of i. Example 1:Input: n = 2 Output: [0,1,1] Explanation: 0 --> 0 1 --> 1 2 --> 10 Example 2:Input: n = 5 Output: [0,1,1,2,1,2] Explanation: 0 --> 0 1 --> 1 2 --> 10 3 --> 11 4 --> 100 5 --> 101Constraints: 0 <= n <= 105