![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
C# Math.BigMul Method
Use the Math.BigMul() method to find the product of two 32-bit numbers.
The following are our two numbers.
int one = 345272828; int two = 887685744;
Now, get the product.
long res; res = Math.BigMul(one, two);
Example
using System; using System.Globalization; class Demo { static void Main() { int one = 345272828; int two = 887685744; long res; res = Math.BigMul(one, two); Console.WriteLine("{0} * {1} = {2}", one, two, res); } }
Output
345272828 * 887685744 = 306493767206164032
Advertisements