How many -digit numbers can be written by using digits and ?
To find the total numbers:
Each digit of the number can have two digits and
Thus we can fill each digit in ways.
Therefore, the total number of -digit numbers
Hence the correct option is B.