Geekpedia
  • Tech
    • Tutorials
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
    • Software
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
  • Media
    • Pictures
  • News
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
    • Pictures
  • News
Check if string is numeric
C# Code
November 6, 2023November 6, 2023Nathan

Check if string is numeric

This is a one-line C# method that checks whether a string is a numerical value or not, by having regex (regular expressions) match a decimal with or without a floating point.

Discover
C# Code
November 6, 2023December 12, 2023Nathan

Get Unix Time using C#

While interfacing with Unix applications, your C# application might need to use Unix time instead of the standard date/time format. Since the Unix time format is basically a count of the seconds passed since 1/1/1970, this can be easily done using the DateTime object.

Discover
Draw Rounded Corner Rectangles Using C#
C# Code
November 6, 2023November 29, 2023Nathan

Draw Rounded Corner Rectangles Using C#

Use the GDI library objects to draw rectangles that have rounded rectangles of a specified radius. The secret is to use a series of lines and arcs to form the rectangle as desired.

Discover
C# Code
November 6, 2023November 6, 2023Nathan

Checksum CRC32 Calculator

A C# method for calculating the CRC32 checksum on an array of bytes. The code uses a CRC32 table and makes use of C#’s bitwise operators to return the checksum of the bytes passed.

Discover
Draw rounded corner rectangles
C# Code
November 6, 2023November 29, 2023Nathan

Draw rounded corner rectangles

The RoundedCornerRectangle() method uses the GDI+ class to draw rectangles with rounded corners. It draws the graphic to a Graphics object that was passed to the method.

Discover
Put a string into byte array
C# Code
November 6, 2023November 6, 2023Nathan

Put a string into byte array

The StringToByteArr() is a two line function that puts a string into a byte array, often needed in order to transfer a string via a network.

Discover
C# Code
November 6, 2023November 6, 2023Nathan

Capitalize each word in a string

The CapitalizeString method uses regular expressions to capitalize every word in a string.

Discover
C# Code
November 6, 2023November 6, 2023Nathan

Get a list of installed printers

Using a foreach loop in C# to retrieve a list of all installed printers (available or unavailable.)

Discover
C# Code
November 5, 2023Nathan

Encrypting a string using the MD5 algorithm

Discover
C# Code
November 5, 2023December 12, 2023Nathan

Method for resizing pictures with aspect ratio

The GenerateThumbnail() C# function resizes pictures for various formats, such as JPEG, PNG and BMP, and maintains their aspect ratio.

Discover

Posts pagination

Previous 1 … 11 12 13 … 21 Next

Trending Posts

How Communication Technology is Revolutionizing Healthcare

Jan 11, 20258 min read
Read More

The Best Places to Shop for Dermatologist-Recommended Skincare in 2025

Jan 9, 202514 min read
Read More

ASP in Healthcare: Enhancing Efficiency in Patient Management Systems

Mar 27, 202416 min read
Read More

Exploring the Future of ActionScript in Modern Web Development

Mar 25, 202414 min read
Read More

ASP and Machine Learning Integration

Mar 23, 202415 min read
Read More
No Post Found

Trending News

Artificial Intelligence in Healthcare: Revolutionizing Diagnosis and Treatment

Dec 24, 202315 min read
Read More

The Rise of Virtual Reality: How VR is Changing Entertainment and Education

Dec 24, 202313 min read
Read More

The Evolution of Social Media: Trends and Predictions for the Next Decade

Dec 23, 20235 min read
Read More
Image Not Found
Geekpedia is a knowledge-driven website offering fresh takes on tech, wellness, gear, and more — all through a thoughtful lens.
From coding tips to curated lifestyle content, it’s built for those who live smart, think sharp, and stay curious.
FOLLOW US
  • Social Image
  • Social Image
  • Social Image
  • Code
  • Gear
  • Generative AI
  • Knowledge Base
  • News
  • Contact Us
  • Work With Us
  • About Us
  • Affiliate Disclosure
  • FAQ
  • Advertisement
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions